[linux-next:master 13482/13934] drivers/block/paride/frpw.c:115:63: sparse: sparse: cast to restricted __le16

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   cc63e8e92cb872081f249ea16e6c460642f3e4fb
commit: 30b5e6ef4a32ea4985b99200e06d6660a69f9246 [13482/13934] m68k: atari: Make Atari ROM port I/O write macros return void
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20220524/202205241033.A71m2sq1-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 11.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=30b5e6ef4a32ea4985b99200e06d6660a69f9246
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 30b5e6ef4a32ea4985b99200e06d6660a69f9246
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=m68k SHELL=/bin/bash drivers/block/paride/ drivers/comedi/drivers/ drivers/net/ethernet/8390/ drivers/net/ethernet/xircom/ drivers/tty/ipwireless/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/block/paride/frpw.c:115:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/frpw.c:115:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/frpw.c:115:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/frpw.c:115:63: sparse: sparse: cast to restricted __le16
   drivers/block/paride/frpw.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/friq.c:112:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/friq.c:112:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/friq.c:112:63: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/friq.c:112:63: sparse: sparse: cast to restricted __le16
   drivers/block/paride/friq.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/on26.c:221:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/on26.c:221:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/on26.c:221:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/on26.c:221:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/on26.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
   drivers/block/paride/bpck6.c: note: in included file:
>> drivers/block/paride/ppc6lnx.c:470:50: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/ppc6lnx.c:470:50: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/ppc6lnx.c:470:50: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/ppc6lnx.c:470:50: sparse: sparse: cast to restricted __le16
   drivers/block/paride/bpck6.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/epia.c:183:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epia.c:183:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epia.c:183:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epia.c:183:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/epia.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/comm.c:135:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/comm.c:135:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/comm.c:135:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/comm.c:135:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/comm.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/bpck.c:182:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/bpck.c:182:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/bpck.c:182:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/bpck.c:182:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/bpck.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   drivers/block/paride/bpck.c:323:72: sparse: sparse: cast to restricted __le16
   drivers/block/paride/bpck.c:323:72: sparse: sparse: cast to restricted __le16
   drivers/block/paride/bpck.c:323:72: sparse: sparse: cast to restricted __le16
   drivers/block/paride/bpck.c:323:72: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/dstr.c:145:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/dstr.c:145:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/dstr.c:145:59: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/dstr.c:145:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/dstr.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/epat.c:146:62: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epat.c:146:62: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epat.c:146:62: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/epat.c:146:62: sparse: sparse: cast to restricted __le16
   drivers/block/paride/epat.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/block/paride/kbic.c:58:21: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/kbic.c:58:21: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/kbic.c:58:21: sparse: sparse: cast to restricted __le16
>> drivers/block/paride/kbic.c:58:21: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:156:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:157:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:159:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:160:48: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:179:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:179:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:179:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c:179:59: sparse: sparse: cast to restricted __le16
   drivers/block/paride/kbic.c: note: in included file (through arch/m68k/include/asm/io.h):
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
   arch/m68k/include/asm/io_mm.h:166:21: sparse: sparse: Using plain integer as NULL pointer
--
>> drivers/comedi/drivers/das16m1.c:343:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/das16m1.c:343:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/das16m1.c:343:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/das16m1.c:343:23: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/das16m1.c: note: in included file (through arch/m68k/include/asm/io_mm.h, arch/m68k/include/asm/io.h, include/linux/io.h, ...):
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
--
>> drivers/comedi/drivers/aio_aio12_8.c:142:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/aio_aio12_8.c:142:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/aio_aio12_8.c:142:23: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/aio_aio12_8.c:142:23: sparse: sparse: cast to restricted __le16
--
>> drivers/comedi/drivers/ni_at_ao.c:159:19: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_at_ao.c:159:19: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_at_ao.c:159:19: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_at_ao.c:159:19: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_at_ao.c:282:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_at_ao.c:282:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_at_ao.c:282:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_at_ao.c:282:9: sparse: sparse: cast to restricted __le16
--
>> drivers/comedi/drivers/ni_daq_700.c:163:17: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_daq_700.c:163:17: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_daq_700.c:163:17: sparse: sparse: cast to restricted __le16
>> drivers/comedi/drivers/ni_daq_700.c:163:17: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:173:21: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:173:21: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:173:21: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:173:21: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:205:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:205:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:205:9: sparse: sparse: cast to restricted __le16
   drivers/comedi/drivers/ni_daq_700.c:205:9: sparse: sparse: cast to restricted __le16
--
   drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: cast from restricted __le16
   drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] val @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     expected unsigned short [usertype] val
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: cast from restricted __le16
   drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: cast from restricted __le16
>> drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned short [unused] [usertype] __v @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     expected unsigned short [unused] [usertype] __v
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
>> drivers/tty/ipwireless/hardware.c:431:25: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned short [unused] [usertype] __v @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     expected unsigned short [unused] [usertype] __v
   drivers/tty/ipwireless/hardware.c:431:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: cast from restricted __le16
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short [usertype] val @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     expected unsigned short [usertype] val
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: cast from restricted __le16
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: cast from restricted __le16
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned short [unused] [usertype] __v @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     expected unsigned short [unused] [usertype] __v
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:445:25: sparse: sparse: incorrect type in initializer (different base types) @@     expected unsigned short [unused] [usertype] __v @@     got restricted __le16 [assigned] [usertype] raw_data @@
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     expected unsigned short [unused] [usertype] __v
   drivers/tty/ipwireless/hardware.c:445:25: sparse:     got restricted __le16 [assigned] [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:863:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:863:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:863:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:863:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:872:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:872:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:872:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:872:43: sparse: sparse: cast to restricted __le16
>> drivers/tty/ipwireless/hardware.c:872:43: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __le16 [usertype] raw_data @@     got int @@
   drivers/tty/ipwireless/hardware.c:872:43: sparse:     expected restricted __le16 [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:872:43: sparse:     got int
   drivers/tty/ipwireless/hardware.c:879:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:879:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:879:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:879:23: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:889:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:889:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:889:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:889:43: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:889:43: sparse: sparse: incorrect type in initializer (different base types) @@     expected restricted __le16 [usertype] raw_data @@     got int @@
   drivers/tty/ipwireless/hardware.c:889:43: sparse:     expected restricted __le16 [usertype] raw_data
   drivers/tty/ipwireless/hardware.c:889:43: sparse:     got int
   drivers/tty/ipwireless/hardware.c:897:25: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:897:25: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:897:25: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:897:25: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1051:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1051:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1051:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1051:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1062:16: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1062:16: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1062:16: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1062:16: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1607:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1607:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1607:24: sparse: sparse: cast to restricted __le16
   drivers/tty/ipwireless/hardware.c:1607:24: sparse: sparse: cast to restricted __le16
--
>> drivers/net/ethernet/8390/apne.c:410:23: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/8390/apne.c:410:23: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/8390/apne.c:410:23: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/8390/apne.c:410:23: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/8390/apne.c:455:19: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/8390/apne.c:455:19: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/8390/apne.c:455:19: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/8390/apne.c:455:19: sparse: sparse: cast to restricted __le16
--
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:1028:22: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:1028:22: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:1028:22: sparse: sparse: cast to restricted __le16
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:1028:22: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1043:28: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1043:28: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1043:28: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1043:28: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1238:17: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1238:17: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1238:17: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c:1238:17: sparse: sparse: cast to restricted __le16
   drivers/net/ethernet/xircom/xirc2ps_cs.c: note: in included file (through arch/m68k/include/asm/io_mm.h, arch/m68k/include/asm/io.h, include/linux/io.h, ...):
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16
   arch/m68k/include/asm/raw_io.h:457:26: sparse: sparse: cast to restricted __le16

vim +115 drivers/block/paride/frpw.c

^1da177e4c3f415 Linus Torvalds 2005-04-16   77  
^1da177e4c3f415 Linus Torvalds 2005-04-16   78          switch(pi->mode) {
^1da177e4c3f415 Linus Torvalds 2005-04-16   79  
^1da177e4c3f415 Linus Torvalds 2005-04-16   80          case 0: w2(4); w0(regr); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16   81                  for (k=0;k<count;k++) {
^1da177e4c3f415 Linus Torvalds 2005-04-16   82                          w2(6); l = r1();
^1da177e4c3f415 Linus Torvalds 2005-04-16   83                          w2(4); h = r1();
^1da177e4c3f415 Linus Torvalds 2005-04-16   84                          buf[k] = j44(l,h);
^1da177e4c3f415 Linus Torvalds 2005-04-16   85                  }
^1da177e4c3f415 Linus Torvalds 2005-04-16   86                  w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16   87                  break;
^1da177e4c3f415 Linus Torvalds 2005-04-16   88  
^1da177e4c3f415 Linus Torvalds 2005-04-16   89          case 1: ph = 2;
^1da177e4c3f415 Linus Torvalds 2005-04-16   90                  w2(4); w0(regr + 0xc0); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16   91                  w0(0xff);
^1da177e4c3f415 Linus Torvalds 2005-04-16   92                  for (k=0;k<count;k++) {
^1da177e4c3f415 Linus Torvalds 2005-04-16   93                          w2(0xa4 + ph); 
^1da177e4c3f415 Linus Torvalds 2005-04-16   94                          buf[k] = r0();
^1da177e4c3f415 Linus Torvalds 2005-04-16   95                          ph = 2 - ph;
^1da177e4c3f415 Linus Torvalds 2005-04-16   96                  } 
^1da177e4c3f415 Linus Torvalds 2005-04-16   97                  w2(0xac); w2(0xa4); w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16   98                  break;
^1da177e4c3f415 Linus Torvalds 2005-04-16   99  
^1da177e4c3f415 Linus Torvalds 2005-04-16  100          case 2: w2(4); w0(regr + 0x80); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16  101                  for (k=0;k<count;k++) buf[k] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  102                  w2(0xac); w2(0xa4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  103                  w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  104                  break;
^1da177e4c3f415 Linus Torvalds 2005-04-16  105  
^1da177e4c3f415 Linus Torvalds 2005-04-16  106  	case 3: w2(4); w0(regr + 0x80); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16  107  		for (k=0;k<count-2;k++) buf[k] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  108  		w2(0xac); w2(0xa4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  109  		buf[count-2] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  110  		buf[count-1] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  111  		w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  112  		break;
^1da177e4c3f415 Linus Torvalds 2005-04-16  113  
^1da177e4c3f415 Linus Torvalds 2005-04-16  114  	case 4: w2(4); w0(regr + 0x80); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16 @115                  for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w();
^1da177e4c3f415 Linus Torvalds 2005-04-16  116                  w2(0xac); w2(0xa4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  117                  buf[count-2] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  118                  buf[count-1] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  119                  w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  120                  break;
^1da177e4c3f415 Linus Torvalds 2005-04-16  121  
^1da177e4c3f415 Linus Torvalds 2005-04-16  122  	case 5: w2(4); w0(regr + 0x80); cec4;
^1da177e4c3f415 Linus Torvalds 2005-04-16  123                  for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l();
^1da177e4c3f415 Linus Torvalds 2005-04-16  124                  buf[count-4] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  125                  buf[count-3] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  126                  w2(0xac); w2(0xa4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  127                  buf[count-2] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  128                  buf[count-1] = r4();
^1da177e4c3f415 Linus Torvalds 2005-04-16  129                  w2(4);
^1da177e4c3f415 Linus Torvalds 2005-04-16  130                  break;
^1da177e4c3f415 Linus Torvalds 2005-04-16  131  
^1da177e4c3f415 Linus Torvalds 2005-04-16  132          }
^1da177e4c3f415 Linus Torvalds 2005-04-16  133  }
^1da177e4c3f415 Linus Torvalds 2005-04-16  134  

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

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

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux