Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1211796lqo; Sat, 11 May 2024 12:19:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxUrUf0dWfbNeZd4Ugb0PW50yo3MLUA1z0+3um+LbXDHxjdo1y6IZilZngyV/eTOgaM0YEGsOC+hf2ZzOz2HlSGZXO0CspBe1EfbAHtQ== X-Google-Smtp-Source: AGHT+IHlBv+kodrMb68+v9BSKbfx7ygGUHVcxsgcmxGvLjFLU7mp7UNJfTTkp/JuQIgz1TGOsOe4 X-Received: by 2002:a50:9b14:0:b0:56e:3f0:a163 with SMTP id 4fb4d7f45d1cf-5734d5c1201mr5303555a12.14.1715455174394; Sat, 11 May 2024 12:19:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715455174; cv=pass; d=google.com; s=arc-20160816; b=IEXYSJLtGDcS8zB7NQPbDPmWYnfvGTwur3xx3XRwcUP4oO3x0EOgOrn1qhGbXzqkyW io5yNRPXuat7kkZOvcx0sU/p0Chm2HywaYyquo2OJ4U1NFkpHWgImtDmIruMl5yfybJm aawuAL4G8ApFWXVq6DrGiOgkA2WdlcVHJmY0eslW3ALpXdM3xJIdYzT2hPSrvj36Eksw g/SlB30XV7XNc8mSwxpguTABJWu3UkVR3NY5WzIo25mkV1ZSLP7Ve7nThVzPCb2FYH/B eRRloEfmOBFTW+OV61c7XZ+Q2JlLIAsebN3tgHfamsYU2aOiw5notrY7Stuw2E4LWZY6 arrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=chKlUAx4lD06I2Oq5OYnpmIcQN1s5SbIvmWbWdQ63mI=; fh=0uztkKhaOP52Q4Atp6GUiW/gbn9Uv8T8tDMBxXO4f2A=; b=F+wmRiCHl3vrj5dTAlXab9mPkLLgOFoNpSZm5/OjupBkI41SjkjM9WNLeyYZiD3tHB 9zT9LBCXkYjxwVsi98TDNEPqMe6IpGSAF6y+Tzb83omJ012Urszrj38lUrQiBmQ/M/sH NalH5fAob+96ni20qihB1o942ldOJQkp/Rn+2YQqpkG0o0qzZrusUnIWPhppfRmtx0ib I5636V72/hQP88cfKsjDM/W287LNivj/VJVp5X53KPK+lZ2MCvRVSCJpvoQrEWULiolX IRsCW8lGYLdNw9/RZv/Cjc2SAKMEONBk5r9kGuERtGkzZA6fiGlnMokzBXKZuSUvmPyK dlgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eLOe74gS; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-176694-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c36d4ebsi3125867a12.528.2024.05.11.12.19.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 12:19:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176694-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eLOe74gS; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-176694-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 265AD1F2154A for ; Sat, 11 May 2024 19:19:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B12D1CD2C; Sat, 11 May 2024 19:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eLOe74gS" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 806631CABF; Sat, 11 May 2024 19:19:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455166; cv=none; b=sBnpzmDErtgtkO5cJhqqb1G/OTu140N+1TtVl56w4LzXRkgqR21C/kdgOBWWWxTH0jMYbbUNL1ktv8eGL98Xd+K2Y+/R+Cd/+0gfgC/EYkBDOqr4WZZZKqQPK2I1/A87pKPKIlpllY64beFVGCABfgXMV9e8iiS9UI4+PPrB5JM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455166; c=relaxed/simple; bh=10Sr8/r4vsQLBHs2eT8Nl5dyWcbWgKeqIXysLkPRiIA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JDnNXww4Bc5FE2ohUEw10BBX7E0SDiPwRO0+6Y6kBasAfSZ17OxDlfZMi6iL7vCmFXx0i+5IrXHP6ayrYIMVtcuSLyNvkm+/rOKwlLsdXC81LTLKJLJjGXV5rwIgvs9Tc64Ylr1tQWtYd3CjpAIKH9bkeCoNwzJc7Qhx5IPFp60= 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=eLOe74gS; arc=none smtp.client-ip=198.175.65.19 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715455165; x=1746991165; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=10Sr8/r4vsQLBHs2eT8Nl5dyWcbWgKeqIXysLkPRiIA=; b=eLOe74gSCWnS3UmxJ3mMlYMWvP9YnlpS8l6jAVgMTnfZYK02sJTHut7W JSkQpevetCkEjRqi1qfBJERXJp+bfcjxpoYFsr21OKj5B0PsCu/KBXYYQ 2JCkLu2WEzltHRv2zdt6vnPCzilofT8WJoCyVMR7ic95PUrAPs+t7MMzl Fbzzoy14ZEw8jAQcm0Xv18HLVgWdI8RlC1bc7oIYHMrp9fQ+AbQtghRk5 wGekVDQiUXGYO3VtVNfc+f/vfYLY2aBaSHtnfASAYPwENUWbmyXlTytOd ezst0TAZmjuqRO+zv8eVIUrxVIkIqWxqFf6vdQNqUd2ExpS0q43ONvwTX Q==; X-CSE-ConnectionGUID: p876ahm+TFi8HQlWLvCIaA== X-CSE-MsgGUID: 85e6NXFKS7e/3IQiUmgjnA== X-IronPort-AV: E=McAfee;i="6600,9927,11070"; a="11285586" X-IronPort-AV: E=Sophos;i="6.08,154,1712646000"; d="scan'208";a="11285586" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2024 12:19:24 -0700 X-CSE-ConnectionGUID: nJLrBFAPTESYQUS/7keCKg== X-CSE-MsgGUID: scCr+n+1QH+j+OT+k7ebsQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,154,1712646000"; d="scan'208";a="30342419" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 11 May 2024 12:19:22 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s5sFa-0007l3-1N; Sat, 11 May 2024 19:19:18 +0000 Date: Sun, 12 May 2024 03:18:40 +0800 From: kernel test robot To: Yasin Lee , jic23@kernel.org Cc: oe-kbuild-all@lists.linux.dev, lars@metafoo.de, swboyd@chromium.org, nuno.a@analog.com, andy.shevchenko@gmail.com, u.kleine-koenig@pengutronix.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, yasin.lee.x@gmail.com, yasin.lee.x@outlook.com Subject: Re: [PATCH] iio:proximity:hx9031as: Add TYHX HX9031AS/HX9023S sensor driver Message-ID: <202405120334.eHnXGJwn-lkp@intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@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: Hi Yasin, kernel test robot noticed the following build warnings: [auto build test WARNING on jic23-iio/togreg] [also build test WARNING on linus/master v6.9-rc7 next-20240510] [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-hx9031as-Add-TYHX-HX9031AS-HX9023S-sensor-driver/20240510-173839 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/SN7PR12MB8101EDFA7F91A59761095A28A4E72%40SN7PR12MB8101.namprd12.prod.outlook.com patch subject: [PATCH] iio:proximity:hx9031as: Add TYHX HX9031AS/HX9023S sensor driver config: arc-randconfig-r133-20240512 (https://download.01.org/0day-ci/archive/20240512/202405120334.eHnXGJwn-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240512/202405120334.eHnXGJwn-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/202405120334.eHnXGJwn-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/iio/proximity/hx9031as.c:1919:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] val @@ got signed int @@ drivers/iio/proximity/hx9031as.c:1919:21: sparse: expected restricted __be16 [usertype] val drivers/iio/proximity/hx9031as.c:1919:21: sparse: got signed int drivers/iio/proximity/hx9031as.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...): include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false vim +1919 drivers/iio/proximity/hx9031as.c 1902 1903 static irqreturn_t hx9031as_trigger_handler(int irq, void *private) 1904 { 1905 struct iio_poll_func *pf = private; 1906 struct iio_dev *indio_dev = pf->indio_dev; 1907 struct hx9031as_data *data = iio_priv(indio_dev); 1908 __be16 val; 1909 int bit = 0; 1910 int ii = 0; 1911 1912 ENTER; 1913 mutex_lock(&data->mutex); 1914 1915 hx9031as_sample(); 1916 hx9031as_get_prox_state(); 1917 1918 for_each_set_bit(bit, indio_dev->active_scan_mask, indio_dev->masklength) { > 1919 val = hx9031as_pdata.diff[indio_dev->channels[bit].channel]; 1920 data->buffer.channels[ii++] = val; 1921 PRINT_INF("bit=%d, ii=%d, val=%d\n", bit, ii - 1, val); 1922 } 1923 1924 iio_push_to_buffers_with_timestamp(indio_dev, &data->buffer, pf->timestamp); 1925 mutex_unlock(&data->mutex); 1926 1927 iio_trigger_notify_done(indio_dev->trig); 1928 return IRQ_HANDLED; 1929 } 1930 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki