[vfs:test.pages 30/51] arch/sparc/mm/io-unit.c:206:16: error: unused variable 'page'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git test.pages
head:   573a06a07d2b19f7a173fcd0de179eba85795a58
commit: 703cfcbb2264e9c47a9e55d3411570263b488ac2 [30/51] sparc: get rid of pointless casts
config: sparc-defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 703cfcbb2264e9c47a9e55d3411570263b488ac2
        # save the attached .config to linux build tree
        make.cross ARCH=sparc 

All errors (new ones prefixed by >>):

   arch/sparc/mm/io-unit.c: In function 'iounit_map_dma_area':
>> arch/sparc/mm/io-unit.c:206:16: error: unused variable 'page' [-Werror=unused-variable]
     unsigned long page, end;
                   ^
   cc1: all warnings being treated as errors

vim +/page +206 arch/sparc/mm/io-unit.c

^1da177e Linus Torvalds  2005-04-16  200  }
^1da177e Linus Torvalds  2005-04-16  201  
^1da177e Linus Torvalds  2005-04-16  202  #ifdef CONFIG_SBUS
703cfcbb Al Viro         2015-12-19  203  static int iounit_map_dma_area(struct device *dev, dma_addr_t *pba, void *va, unsigned long addr, int len)
^1da177e Linus Torvalds  2005-04-16  204  {
4b1c5df2 David S. Miller 2008-08-27  205  	struct iounit_struct *iounit = dev->archdata.iommu;
^1da177e Linus Torvalds  2005-04-16 @206  	unsigned long page, end;
^1da177e Linus Torvalds  2005-04-16  207  	pgprot_t dvma_prot;
1918660b Sam Ravnborg    2014-05-16  208  	iopte_t __iomem *iopte;
^1da177e Linus Torvalds  2005-04-16  209  

:::::: The code at line 206 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux