Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2365532lqo; Mon, 13 May 2024 16:52:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0Tl5+3pgVV8SUC4TmbPI+BAutLqm42xsjk8dfNnoFNH4vb0NMeIRoUe0rikkFHPFLDVefWDp6cyGzhXSq5ngwwCM80TKCoO0hv9YHng== X-Google-Smtp-Source: AGHT+IFOtI3cV02sRV4mxgY0YVyGKcwzZxh4BcJVzaywrhDxn8B4E1WSDooj0fBPGRI5DUdkMkmz X-Received: by 2002:a05:6870:5ba2:b0:23c:b686:c84 with SMTP id 586e51a60fabf-24172f5e5e0mr14458010fac.44.1715644366679; Mon, 13 May 2024 16:52:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715644366; cv=pass; d=google.com; s=arc-20160816; b=LRQHpZ5gl4BO5jFgDXItIqFKc7wsu+J3Zt67DYfkmD4Gr3stt9S0pm+EQfvZ2E2KtK uTjrWUomvo+zQz6Rqe/XIGhwfhgaMm6TPOLj1cL7lbgaqJUYCYMhng8TwK+f5X37ad2Q 026aZZDQDVqmE51MH07SbYj2qfHGgNDz/74uvvCIZ9BbgaLcCJlRSUHk/ZmmljhVop6R x6Jfd9tR6z7uKKc/Cd573JeOKN+MwPkVNETC/LMrbb+AADXjBUeAPHBp1wz5GBjUOvtB HUvrH93z4Ntu/Ucam9+jzY+WnUQFwnCNPi/cJCMLp3CygLg1nE/M52vxotDboNUsHQfX yf4g== 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=UHfB5XWW1DI97GTLz6S/br8OiuywZCheOVNuclrh7qc=; fh=puIXyC0ZKDZeaaJmLNgggHvieEmpg76+AyOXMjGN/AY=; b=D2+CTs58tqFbCqj+jTTdfuyGCxHGc2hiDcKTowNs0HAtNHWuhkHRZ1h7If8SFGztsJ reu1mvOGnap6M7qvgsNIngySQ0Xr7bU3a+NwIdF4q0y/06xA2CAKgoyXiEq7lPt9eoCn v/JUq9OAX0YassKFhq0yLYePdan2y7LrW5CISwwrbm0KA9JbjaFO8zA15RC5Jg8jG7ew ianUTyu1NUexj4Ffx5Ia1IbiSj5aSwtXftCuV/7+o2VoBo0Hmxl71sOxamy/1UAUUx9G ySHDfYOXNiK3NuNEnsHZk3+WshZ7qEZZKCj6WtsMBHngvIJjqxVYCMRErIuAR8rmEC8f bziQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LjkzpoSI; 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-178191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4f399ea37si5433605b3a.141.2024.05.13.16.52.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LjkzpoSI; 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-178191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178191-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E02D4B20E80 for ; Mon, 13 May 2024 23:51:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 994F91272A7; Mon, 13 May 2024 23:51:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LjkzpoSI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 27995129E7E; Mon, 13 May 2024 23:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715644266; cv=none; b=E7dmGgIz7VyOovE8TIMSTQQgSIC3wFmjMSqvj5uFCU/ZMz9p7a5MxgooBNvI5mZB2Pnh7IAPSRb9ICXutqqbtNcUet410DBiTtQG8WQe8ALzdOW4NLq0pDcYAHqjvfNaDKQgCs5BV7s2IY82OiSTW6XKaM/b9/FDnSK9t/K4Q+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715644266; c=relaxed/simple; bh=8k7wY0dIyy5/im7vf9wz7CejUYZadSeVLOyq35oenu0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UFIWXUEHqR89Vue/bOz2pFp+/Dw2mmLhd6g8EtC4gxpi827Bnzb2nomh5ql6yJrJBMAN2a6/No54fM4o88HuO/E2F6upAkQTWOHGooN4cDhQVOdNhvK8kro9quhBiRlX8iheo3viDEUc6ko9ymVAQcik/7iUeRBZR83FRCaIdY0= 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=LjkzpoSI; arc=none smtp.client-ip=198.175.65.10 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=1715644264; x=1747180264; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8k7wY0dIyy5/im7vf9wz7CejUYZadSeVLOyq35oenu0=; b=LjkzpoSIFECDZ4ftKkZZVDFLiDUjLUQNTQP0IaMgAc1O8aI+QDCoQc0K GMAE6QblmYZyQLEeLJth3FxP1Jgxw71Olr+nlAVYoXj6gHOHpz47Cuuh3 Qu6RO4Ki+aZRUQu9dlvXSBIQEKLxIo5TX+AZeAiTIBu1GRZh7+Dd3p7ZY UIzpEi0qKxKnhKxrfENlnXa9F/n0KG2VyWdSzOArzhH/r4VtOk4U0976f V9TOe1pzXCX46+yhMgWuN5nm/d6h+kiuTb6jcQfGQK8utZDX3h6jVc+3x l5pqgZUAdqPP5IRX87/tZuI8ukvI66yrwkWAaLXaAQwzlq70f8hbT+KHl Q==; X-CSE-ConnectionGUID: kHOrN815Qf2MB1x4mxI9oQ== X-CSE-MsgGUID: Ge/Bl8W9RhmQyzesPfyAwQ== X-IronPort-AV: E=McAfee;i="6600,9927,11072"; a="29093954" X-IronPort-AV: E=Sophos;i="6.08,159,1712646000"; d="scan'208";a="29093954" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2024 16:51:03 -0700 X-CSE-ConnectionGUID: SX6aCGhPTHuCKaVvAbrmLA== X-CSE-MsgGUID: N0lPQVPlSMeeWOzne2Q0Sw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,159,1712646000"; d="scan'208";a="30497746" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 13 May 2024 16:51:01 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s6fRa-000Ao7-1C; Mon, 13 May 2024 23:50:58 +0000 Date: Tue, 14 May 2024 07:50:20 +0800 From: kernel test robot To: Gustavo Silva , jic23@kernel.org Cc: oe-kbuild-all@lists.linux.dev, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lars@metafoo.de, christophe.jaillet@wanadoo.fr, gerald.loacker@wolfvision.net, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] iio: chemical: ens160: add triggered buffer support Message-ID: <202405140721.LuiSHRvx-lkp@intel.com> References: <20240512210444.30824-5-gustavograzs@gmail.com> 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: <20240512210444.30824-5-gustavograzs@gmail.com> Hi Gustavo, kernel test robot noticed the following build warnings: [auto build test WARNING on 084eeee1d8da6b4712719264b01cb27b41307f54] url: https://github.com/intel-lab-lkp/linux/commits/Gustavo-Silva/dt-bindings-vendor-prefixes-add-ScioSense/20240513-050745 base: 084eeee1d8da6b4712719264b01cb27b41307f54 patch link: https://lore.kernel.org/r/20240512210444.30824-5-gustavograzs%40gmail.com patch subject: [PATCH 4/6] iio: chemical: ens160: add triggered buffer support config: arc-randconfig-r123-20240514 (https://download.01.org/0day-ci/archive/20240514/202405140721.LuiSHRvx-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240514/202405140721.LuiSHRvx-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/202405140721.LuiSHRvx-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/iio/chemical/ens160_core.c:250:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short @@ got restricted __le16 [addressable] [usertype] val @@ drivers/iio/chemical/ens160_core.c:250:39: sparse: expected unsigned short drivers/iio/chemical/ens160_core.c:250:39: sparse: got restricted __le16 [addressable] [usertype] val drivers/iio/chemical/ens160_core.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.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 +250 drivers/iio/chemical/ens160_core.c 232 233 static irqreturn_t ens160_trigger_handler(int irq, void *p) 234 { 235 struct iio_poll_func *pf = p; 236 struct iio_dev *indio_dev = pf->indio_dev; 237 struct ens160_data *data = iio_priv(indio_dev); 238 __le16 val; 239 int ret, i, j = 0; 240 241 mutex_lock(&data->mutex); 242 243 for_each_set_bit(i, indio_dev->active_scan_mask, 244 indio_dev->masklength) { 245 ret = regmap_bulk_read(data->regmap, 246 ENS160_REG_DATA_TVOC + 2 * i, &val, 2U); 247 if (ret) 248 goto err; 249 > 250 data->scan.chans[j++] = val; 251 } 252 253 iio_push_to_buffers_with_timestamp(indio_dev, &data->scan, 254 pf->timestamp); 255 err: 256 mutex_unlock(&data->mutex); 257 iio_trigger_notify_done(indio_dev->trig); 258 259 return IRQ_HANDLED; 260 } 261 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki