[dm:for-next 4/6] drivers/md/dm-integrity.c:1734:1: error: expected '; ' before '}' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
:::::: CC: Mike Snitzer <snitzer@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux