[input:next 2292/2295] drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16

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

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/dtor/input.git next
head:   771a081e44a9baa1991ef011cc453ef425591740
commit: 038b1a05eae6666b731920e46f47d8e2332e07ff [2292/2295] Input: add Apple SPI keyboard and trackpad driver
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty
        git checkout 038b1a05eae6666b731920e46f47d8e2332e07ff
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)

>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:948:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:949:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:950:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
   drivers/input/keyboard/applespi.c:951:34: sparse: sparse: cast from restricted __le16
>> drivers/input/keyboard/applespi.c:1615:37: sparse: sparse: incorrect type in argument 1 (different type sizes) @@    expected unsigned short [usertype] *name @@    got ype] *name @@
>> drivers/input/keyboard/applespi.c:1615:37: sparse:    expected unsigned short [usertype] *name
>> drivers/input/keyboard/applespi.c:1615:37: sparse:    got char *
>> drivers/input/keyboard/applespi.c:1957:25: sparse: sparse: symbol 'applespi_pm_ops' was not declared. Should it be static?

vim +948 drivers/input/keyboard/applespi.c

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



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux