Re: [jic23-iio:togreg 7/7] include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers)

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

 



On Fri, 8 Nov 2024 13:13:17 +0800
kernel test robot <lkp@xxxxxxxxx> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
> head:   6415477ba63dea58b5cbf9ddcae75f18f33c71a4
> commit: 6415477ba63dea58b5cbf9ddcae75f18f33c71a4 [7/7] iio: Move __private marking before struct element priv in struct iio_dev
> config: x86_64-randconfig-122-20241108 (https://download.01.org/0day-ci/archive/20241108/202411081329.1XVxvCVQ-lkp@xxxxxxxxx/config)
> compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241108/202411081329.1XVxvCVQ-lkp@xxxxxxxxx/reproduce)

This isn't going well and we need to resolve this fast.

I'll have a brief go at figuring out what is tripping sparse
up but if not I'll pull the patch for this cycle.

Any suggestions welcome!

Jonathan

> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202411081329.1XVxvCVQ-lkp@xxxxxxxxx/
> 
> sparse warnings: (new ones prefixed by >>)
>    drivers/iio/proximity/srf04.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/srf08.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/rfd77402.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/mb1232.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/sx9360.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/sx9310.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/vl53l0x-i2c.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/irsd200.c: note: in included file (through include/linux/iio/buffer.h):
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/isl29501.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/aw96103.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/sx9500.c: note: in included file:
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/sx_common.c: note: in included file (through include/linux/iio/buffer.h):
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> --
>    drivers/iio/proximity/hx9023s.c: note: in included file (through include/linux/iio/buffer.h):
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> >> include/linux/iio/iio.h:788:16: sparse: sparse: incorrect type in return expression (different modifiers) @@     expected void * @@     got void [noderef] *const @@  
>    include/linux/iio/iio.h:788:16: sparse:     expected void *
>    include/linux/iio/iio.h:788:16: sparse:     got void [noderef] *const
> 
> vim +788 include/linux/iio/iio.h
> 
> 6f7c8ee585e9db drivers/staging/iio/iio.h Jonathan Cameron   2011-04-15  784  
> 6d4ebd565d15f3 include/linux/iio/iio.h   Alexandru Ardelean 2020-06-30  785  /* The information at the returned address is guaranteed to be cacheline aligned */
> f8c6f4e9a40d47 drivers/staging/iio/iio.h Jonathan Cameron   2011-10-06  786  static inline void *iio_priv(const struct iio_dev *indio_dev)
> 6f7c8ee585e9db drivers/staging/iio/iio.h Jonathan Cameron   2011-04-15  787  {
> 9a5a2483bc60c1 include/linux/iio/iio.h   Andy Shevchenko    2024-11-01 @788  	return ACCESS_PRIVATE(indio_dev, priv);
> 6f7c8ee585e9db drivers/staging/iio/iio.h Jonathan Cameron   2011-04-15  789  }
> 6f7c8ee585e9db drivers/staging/iio/iio.h Jonathan Cameron   2011-04-15  790  
> 
> :::::: The code at line 788 was first introduced by commit
> :::::: 9a5a2483bc60c12d73ac6ca5ac5ab95361a895f4 iio: Mark iio_dev::priv member with __private
> 
> :::::: TO: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> :::::: CC: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> 





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux