All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm:for-next 4/6] drivers/md/dm-integrity.c:1734:1: error: expected '; ' before '}' token
@ 2017-07-21 18:32 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-07-21 18:32 UTC (permalink / raw)
  To: Mikulas Patocka; +Cc: dm-devel, kbuild-all, Mike Snitzer

[-- Attachment #1: Type: text/plain, Size: 2366 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head:   8df89eed38e29b085c604fbcc93e9d4047f72e44
commit: b3f610889cef75a63e9e7729f5c336a288237244 [4/6] dm integrity: WARN_ON if variables representing journal usage get out of sync
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b3f610889cef75a63e9e7729f5c336a288237244
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/md/dm-integrity.c: In function 'pad_uncommitted':
>> drivers/md/dm-integrity.c:1734:1: error: expected ';' before '}' token
    }
    ^

vim +1734 drivers/md/dm-integrity.c

7eada909b Mikulas Patocka 2017-01-04  1722  
7eada909b Mikulas Patocka 2017-01-04  1723  static void pad_uncommitted(struct dm_integrity_c *ic)
7eada909b Mikulas Patocka 2017-01-04  1724  {
7eada909b Mikulas Patocka 2017-01-04  1725  	if (ic->free_section_entry) {
7eada909b Mikulas Patocka 2017-01-04  1726  		ic->free_sectors -= ic->journal_section_entries - ic->free_section_entry;
7eada909b Mikulas Patocka 2017-01-04  1727  		ic->free_section_entry = 0;
7eada909b Mikulas Patocka 2017-01-04  1728  		ic->free_section++;
7eada909b Mikulas Patocka 2017-01-04  1729  		wraparound_section(ic, &ic->free_section);
7eada909b Mikulas Patocka 2017-01-04  1730  		ic->n_uncommitted_sections++;
7eada909b Mikulas Patocka 2017-01-04  1731  	}
b3f610889 Mikulas Patocka 2017-07-21  1732  	WARN_ON(ic->journal_sections * ic->journal_section_entries !=
b3f610889 Mikulas Patocka 2017-07-21  1733  		(ic->n_uncommitted_sections + ic->n_committed_sections) * ic->journal_section_entries + ic->free_sectors)
7eada909b Mikulas Patocka 2017-01-04 @1734  }
7eada909b Mikulas Patocka 2017-01-04  1735  

:::::: The code at line 1734 was first introduced by commit
:::::: 7eada909bfd7ac90a4522e56aa3179d1fd68cd14 dm: add integrity target

:::::: TO: Mikulas Patocka <mpatocka@redhat.com>
:::::: CC: Mike Snitzer <snitzer@redhat.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50916 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-21 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 18:32 [dm:for-next 4/6] drivers/md/dm-integrity.c:1734:1: error: expected '; ' before '}' token kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.