[spi:fix/mvbeu 1/1] drivers/spi/spi-orion.c:192:8: error: 'sspr' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git fix/mvbeu
head:   d9fc6452af475bea2a3583ce087fbedaf9507194
commit: d9fc6452af475bea2a3583ce087fbedaf9507194 [1/1] spi: mvebu: fix baudrate calculation for armada variants
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
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 d9fc6452af475bea2a3583ce087fbedaf9507194
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/spi/spi-orion.c: In function 'orion_spi_baudrate_set':
>> drivers/spi/spi-orion.c:192:8: error: 'sspr' undeclared (first use in this function)
       if (sspr > 7)
           ^~~~
   drivers/spi/spi-orion.c:192:8: note: each undeclared identifier is reported only once for each function it appears in

vim +/sspr +192 drivers/spi/spi-orion.c

   186	
   187				/*
   188				 * Now do range checking. SPR is constructed to have a
   189				 * width of 4 bits, so this is fine for sure. So we
   190				 * still need to check for sspr to fit into 3 bits:
   191				 */
 > 192				if (sspr > 7)
   193					return -EINVAL;
   194			}
   195	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux