From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 428097A723; Fri, 2 Feb 2024 20:59:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706907552; cv=none; b=sOEvBrJS3si5mBUcvXkBNLH0SUHDRms7UhqRtswQ9HGDFReXbDP2H4OYqflBU2mxDWZx7AbZBBDYYIm9e6TpkBmbLkPB89VNkRlJUiGQVMng5qG1ZRFOEudEzBgmAU5MIuLnJLwHPGShDPk/g3bi992tx6bsa13Sn3rfs1pz3rk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706907552; c=relaxed/simple; bh=T1SmPiaekiTqw+dUGeKjsiOONvZZYtkQjwGugxBhr98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rgYhbilp8PzgoGMNZ+eBYifTiJOMuB/P3GrSSTLlnM1af8CQn/7n72HgarimosaZtN+ybXRKBWD2XVkKhFFGjIbvifB2WaFxSE6TYn3VUq04Px58dyuSv1CknjGMaH+mpARjDpACGlT37Ni9405JFPhx/Fv86qByKsiEkwsxDiM= 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=IGJllm8m; arc=none smtp.client-ip=192.198.163.16 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="IGJllm8m" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706907550; x=1738443550; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=T1SmPiaekiTqw+dUGeKjsiOONvZZYtkQjwGugxBhr98=; b=IGJllm8mbzV39eSHMpIEUln/Sg73uM/6H98RCt0UJl48UJ4ew/rNc29s ejXDR5bn/zHfAOiIVFMo+6ymZq0XUVXq28WdUnQiKX1SBT3y+FWAnY2Bd TSrXbc7LsxV0aTqu8WT5kZuZ+BMlOpUDQ9yNW7uX2Bhat424Xw7l26T3g RbgLAVXu2tRH0WJ0faEM86+7w3FYAfZZH5J/F6HXqdEf+b8LwyhXo8qMT 9Rk5DASRh7LdCf9q5ut1wHkdH0YhEZmZe3NzCL7zPFeMeH11oDqx4QhuZ /619jzdLLvNZU8FmcZuwIr2l62LSHP9Lj3dSTVqj4dVGbHvbcXlyp2Qda Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="462859" X-IronPort-AV: E=Sophos;i="6.05,238,1701158400"; d="scan'208";a="462859" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2024 12:59:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,238,1701158400"; d="scan'208";a="157606" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by fmviesa009.fm.intel.com with ESMTP; 02 Feb 2024 12:59:05 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rW0co-0004G6-34; Fri, 02 Feb 2024 20:59:02 +0000 Date: Sat, 3 Feb 2024 04:58:24 +0800 From: kernel test robot To: Kamel Bouhara , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Marco Felsch , Jeff LaBundy Cc: oe-kbuild-all@lists.linux.dev, catalin.popescu@leica-geosystems.com, mark.satterthwaite@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara Subject: Re: [PATCH v7 3/3] Input: Add TouchNetix axiom i2c touchscreen driver Message-ID: <202402030433.2vfAa4qt-lkp@intel.com> References: <20240131141158.3350344-4-kamel.bouhara@bootlin.com> Precedence: bulk X-Mailing-List: linux-input@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: <20240131141158.3350344-4-kamel.bouhara@bootlin.com> Hi Kamel, kernel test robot noticed the following build warnings: [auto build test WARNING on dtor-input/next] [also build test WARNING on dtor-input/for-linus robh/for-next krzk-dt/for-next linus/master v6.8-rc2 next-20240202] [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/Kamel-Bouhara/dt-bindings-vendor-prefixes-Add-TouchNetix-AS/20240131-221925 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next patch link: https://lore.kernel.org/r/20240131141158.3350344-4-kamel.bouhara%40bootlin.com patch subject: [PATCH v7 3/3] Input: Add TouchNetix axiom i2c touchscreen driver config: s390-randconfig-r131-20240201 (https://download.01.org/0day-ci/archive/20240203/202402030433.2vfAa4qt-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project fdac7d0b6f74f919d319b31a0680c77f66732586) reproduce: (https://download.01.org/0day-ci/archive/20240203/202402030433.2vfAa4qt-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/202402030433.2vfAa4qt-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/input/touchscreen/touchnetix_axiom.c:181:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] preamble @@ got unsigned int @@ drivers/input/touchscreen/touchnetix_axiom.c:181:18: sparse: expected restricted __le32 [usertype] preamble drivers/input/touchscreen/touchnetix_axiom.c:181:18: sparse: got unsigned int >> drivers/input/touchscreen/touchnetix_axiom.c:183:40: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int reg @@ got restricted __le32 [usertype] preamble @@ drivers/input/touchscreen/touchnetix_axiom.c:183:40: sparse: expected unsigned int reg drivers/input/touchscreen/touchnetix_axiom.c:183:40: sparse: got restricted __le32 [usertype] preamble vim +181 drivers/input/touchscreen/touchnetix_axiom.c 171 172 static int axiom_read(struct axiom_data *ts, u8 usage, u8 page, void *buf, u16 len) 173 { 174 struct axiom_cmd_header cmd_header; 175 __le32 preamble; 176 int ret; 177 178 cmd_header.target_address = cpu_to_le16(axiom_usage_to_target_address(ts, usage, page, 0)); 179 cmd_header.length = cpu_to_le16(len | AXIOM_CMD_HEADER_READ_MASK); 180 > 181 preamble = get_unaligned_le32((u8 *)&cmd_header); 182 > 183 ret = regmap_write(ts->regmap, preamble, 0); 184 if (ret) { 185 dev_err(ts->dev, "failed to write preamble, error %d\n", ret); 186 return ret; 187 } 188 189 ret = regmap_raw_read(ts->regmap, 0, buf, len); 190 if (ret) { 191 dev_err(ts->dev, "failed to read target address %04x, error %d\n", 192 cmd_header.target_address, ret); 193 return ret; 194 } 195 196 /* Wait device's DMA operations */ 197 usleep_range(AXIOM_DMA_OPS_DELAY_USEC, AXIOM_DMA_OPS_DELAY_USEC + 50); 198 199 return 0; 200 } 201 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki