[dm:dm-4.10 22/27] drivers/md/dm-cache-target.c:3583:3: error: 'else' without a previous 'if'

[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 dm-4.10
head:   7d343dd89451f88b1e38e3f076fd3da3fc72067e
commit: 76829ab72b51923497512a166050345fe748bb5b [22/27] dm cache metadata: add "separate_dirty_bits" feature
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 76829ab72b51923497512a166050345fe748bb5b
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/md/dm-cache-target.c: In function 'cache_status':
>> drivers/md/dm-cache-target.c:3583:3: error: 'else' without a previous 'if'
      else {
      ^~~~

vim +3583 drivers/md/dm-cache-target.c

76829ab7 Joe Thornber 2016-09-22  3577  
76829ab7 Joe Thornber 2016-09-22  3578  		if (cache->features.metadata_features.separate_dirty_bits)
76829ab7 Joe Thornber 2016-09-22  3579  			DMEMIT("separate_dirty_bits ");
76829ab7 Joe Thornber 2016-09-22  3580  		else
76829ab7 Joe Thornber 2016-09-22  3581  			DMEMIT("combined_dirty_bits ");
2ee57d58 Joe Thornber 2013-10-24  3582  
2ee57d58 Joe Thornber 2013-10-24 @3583  		else {
b61d9509 Mike Snitzer 2015-04-22  3584  			DMERR("%s: internal error: unknown io mode: %d",
b61d9509 Mike Snitzer 2015-04-22  3585  			      cache_device_name(cache), (int) cache->features.io_mode);
2ee57d58 Joe Thornber 2013-10-24  3586  			goto err;

:::::: The code at line 3583 was first introduced by commit
:::::: 2ee57d587357f0d752af6c2e3e46434a74b1bee3 dm cache: add passthrough mode

:::::: TO: Joe Thornber <ejt@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