Hi Yasin, kernel test robot noticed the following build warnings: [auto build test WARNING on jic23-iio/togreg] [also build test WARNING on robh/for-next linus/master v6.10-rc1 next-20240529] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Yasin-Lee/iio-proximity-hx9023s-Add-TYHX-HX9023S-sensor-driver/20240529-170307 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/SN7PR12MB81019AB7F38806097F2C8A34A4F22%40SN7PR12MB8101.namprd12.prod.outlook.com patch subject: [PATCH v3 2/2] iio:proximity:hx9023s: Add TYHX HX9023S sensor driver config: x86_64-randconfig-r113-20240530 (https://download.01.org/0day-ci/archive/20240530/202405300812.jv99FywV-lkp@xxxxxxxxx/config) compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240530/202405300812.jv99FywV-lkp@xxxxxxxxx/reproduce) 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/202405300812.jv99FywV-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/iio/proximity/hx9023s.c:1242:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 @@ got int @@ drivers/iio/proximity/hx9023s.c:1242:44: sparse: expected restricted __be16 drivers/iio/proximity/hx9023s.c:1242:44: sparse: got int vim +1242 drivers/iio/proximity/hx9023s.c 1228 1229 static irqreturn_t hx9023s_trigger_handler(int irq, void *private) 1230 { 1231 struct iio_poll_func *pf = private; 1232 struct iio_dev *indio_dev = pf->indio_dev; 1233 struct hx9023s_data *data = iio_priv(indio_dev); 1234 int bit; 1235 int i = 0; 1236 1237 guard(mutex)(&data->mutex); 1238 hx9023s_sample(data); 1239 hx9023s_get_prox_state(data); 1240 1241 for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) > 1242 data->buffer.channels[i++] = data->diff[indio_dev->channels[bit].channel]; 1243 1244 iio_push_to_buffers_with_timestamp(indio_dev, &data->buffer, pf->timestamp); 1245 1246 iio_trigger_notify_done(indio_dev->trig); 1247 return IRQ_HANDLED; 1248 } 1249 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki