From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2B0719259F; Fri, 8 Nov 2024 09:41:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731058922; cv=none; b=nuPOEmEwsm5+ZYuSHwmcbotanula3fGYKuzQb+CcX3NSD6UjdjtoPzugXgPMJ/4cdiTFIgGVw3tWKTxdtxJH+1IAo7fYzL7u2cir4/sdDi9Ov/ed8G12lVFwslvD6/mZHBVELVUqczJOltd8vGZLk/Ho30TuLUwr05S9OPfsw4c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731058922; c=relaxed/simple; bh=nKtPPXEpNUH5k10o5RiNH9EMeDmQXlCLSScB7FkiAHk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VvrTfcNIo54CnWp2oWcz+M6LD0XgdP7VscM33d7D/fHNL3+Gw04DwyD+cC7Lg1+RGMUfTTXYmRU55lQvWqsCn8HUcK5pu1uLy77SOYgf5ttzZstgvdfkZp43uSCGUiS1NFPO2QgGgtnsPaPUcMoXJj1dxeYg+u5auKWnm+2qIK4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=P9h5eJY+; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="P9h5eJY+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731058920; x=1762594920; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nKtPPXEpNUH5k10o5RiNH9EMeDmQXlCLSScB7FkiAHk=; b=P9h5eJY+aODno/f8FxfvmrCb/9Hy36Q1i3Z+OKZus5FcHcXN3nIA0Zk9 iLr3d7eKeFlem5I2mykfRXjQjkaH1OFVKVsoWMc4LS0jRozNtTiYWoMXv rrMw3QgvClpB56Oe+Z50tDkbKnKckBQwdk+Tqt+LZct7Zh6Qhvb2hZw1y OWajkiw2wYqanKQFWBHgmBFJO7E6bQDqWYOHDmHon70UUTzTv4v4ylj4A Wq4dVafsCz4En9h78jtnWRJVktgA6HfRXY8Af3CH8hUp1IknwDkYKYHJA 5PUqKhm5ar2qzdBs2SqH/01rolM+mVdsEMpIYeIkwZu70XS5E4g5Ut+cZ A==; X-CSE-ConnectionGUID: NIVUQYdcTyONPpR00QPn9g== X-CSE-MsgGUID: hRIun5PVTCegqeSj9ESFNg== X-IronPort-AV: E=McAfee;i="6700,10204,11249"; a="41544582" X-IronPort-AV: E=Sophos;i="6.12,137,1728975600"; d="scan'208";a="41544582" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2024 01:41:59 -0800 X-CSE-ConnectionGUID: 089upF2OTkK+V+4iykwmiQ== X-CSE-MsgGUID: jnIgSbSUSxa9l979yxDy5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,137,1728975600"; d="scan'208";a="90014552" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 08 Nov 2024 01:41:57 -0800 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t9LV5-000rGx-2v; Fri, 08 Nov 2024 09:41:55 +0000 Date: Fri, 8 Nov 2024 17:41:09 +0800 From: kernel test robot To: Javier Carrasco , Jonathan Cameron , Lars-Peter Clausen Cc: oe-kbuild-all@lists.linux.dev, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Carrasco Subject: Re: [PATCH] iio: light: veml6030: add support for triggered buffer Message-ID: <202411081703.Ft0YjqcK-lkp@intel.com> References: <20241107-veml6030_triggered_buffer-v1-1-4810ab86cc56@gmail.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241107-veml6030_triggered_buffer-v1-1-4810ab86cc56@gmail.com> Hi Javier, kernel test robot noticed the following build warnings: [auto build test WARNING on c9f8285ec18c08fae0de08835eb8e5953339e664] url: https://github.com/intel-lab-lkp/linux/commits/Javier-Carrasco/iio-light-veml6030-add-support-for-triggered-buffer/20241108-042332 base: c9f8285ec18c08fae0de08835eb8e5953339e664 patch link: https://lore.kernel.org/r/20241107-veml6030_triggered_buffer-v1-1-4810ab86cc56%40gmail.com patch subject: [PATCH] iio: light: veml6030: add support for triggered buffer config: i386-randconfig-062-20241108 (https://download.01.org/0day-ci/archive/20241108/202411081703.Ft0YjqcK-lkp@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241108/202411081703.Ft0YjqcK-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202411081703.Ft0YjqcK-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/iio/light/veml6030.c:958:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 @@ got int [addressable] reg @@ drivers/iio/light/veml6030.c:958:39: sparse: expected restricted __le16 drivers/iio/light/veml6030.c:958:39: sparse: got int [addressable] reg vim +958 drivers/iio/light/veml6030.c 944 945 static irqreturn_t veml6030_trigger_handler(int irq, void *p) 946 { 947 struct iio_poll_func *pf = p; 948 struct iio_dev *iio = pf->indio_dev; 949 struct veml6030_data *data = iio_priv(iio); 950 int i, ret, reg; 951 int j = 0; 952 953 iio_for_each_active_channel(iio, i) { 954 ret = regmap_read(data->regmap, VEML6030_REG_DATA(i), ®); 955 if (ret) 956 goto done; 957 > 958 data->scan.chans[j++] = reg; 959 } 960 961 iio_push_to_buffers_with_timestamp(iio, &data->scan, pf->timestamp); 962 963 done: 964 iio_trigger_notify_done(iio->trig); 965 966 return IRQ_HANDLED; 967 } 968 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki