From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0615CF6493 for ; Sat, 28 Sep 2024 02:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GQ1lmdgKOG+VKS7ELh7nZ7WBEPP3lyGPdZsG0BMJ+Us=; b=EUQCqLQNNjeEYXwvwnFkpsX1o2 ZAy0FhdiP4SNBsVfRdN1PgQpl2Hf755E8pXxpR18PubMGnzjgmVInlHtLIX8zyL/p0KJ/nkYVKYIy vAqKuAheqIdVRTWGybyXHTXRzo+cpEeogYuqHIo2aeS7O1tw95CwROxx4ww7f8S1D9qLHMIwCBRme 1PIAGUwU+zxE1w0hh8OrcgejJU57RP0gPz28eDviGZezb7016gENyntadpYtbW/cHw3DFdOOuAR9z H7nhFEw390n9eSo+ADxdINy34IRFMGitjn16hYBYkTTTiztIyCEzH46iuGLryNqsun6KXSs8hxVVb P5EgDnSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1suMo3-0000000CSYz-0938; Sat, 28 Sep 2024 02:03:35 +0000 Received: from mgamail.intel.com ([192.198.163.12]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1suMlj-0000000CSK6-2Org for linux-arm-kernel@lists.infradead.org; Sat, 28 Sep 2024 02:01:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727488872; x=1759024872; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=B0hDTo+aoXxw0AAPicUpctplhokJ78Jz3FNO3oGMdjs=; b=A02Y2ATNzMWoCvh35Xb6v0jfmeWCxhZrk3DNtWQ158SWL4RXTXc4Aiur gWVhHTdiF/k7xcVGswUBwpmwyC2WAC/z1XtY3h8n3VCzmpGb5hGPgBfkM OddMHDJ7fiUKVxZUK8cuOvYP4TedvjKbY4Lvo+mLXThBrJ1VjjxkyV+oG LKNA++sOpI6Xj9Vpn3DWwSUzHp4tqo3OdlQGQaaye2mazbm9ol4i8uh2i 0t7RTFwT+eEcQTGSNybXnA64ha8okj4s8+c95OL25EfsB0I4gJHQtIJrc Ellyv4R+BzOdSX0sQbsGCubR2Q7k4K1172csC1Huf+erAVRf+U1WUf3zB Q==; X-CSE-ConnectionGUID: yi+0VTevTXWLIg1d0l8jpQ== X-CSE-MsgGUID: 2nys1UoxRHmcUby8f47BgA== X-IronPort-AV: E=McAfee;i="6700,10204,11208"; a="30535222" X-IronPort-AV: E=Sophos;i="6.11,160,1725346800"; d="scan'208";a="30535222" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Sep 2024 19:01:00 -0700 X-CSE-ConnectionGUID: uAa4TFtBTmKYWHLL4w/w+g== X-CSE-MsgGUID: kLnfXukeRt+crR+PvgSM3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,160,1725346800"; d="scan'208";a="73025912" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 27 Sep 2024 19:00:55 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1suMlQ-000Mpw-2G; Sat, 28 Sep 2024 02:00:52 +0000 Date: Sat, 28 Sep 2024 10:00:51 +0800 From: kernel test robot To: Andrei Stefanescu , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chester Lin , Matthias Brugger , Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP S32 Linux Team , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Andrei Stefanescu Subject: Re: [PATCH v4 3/4] gpio: siul2-s32g2: add NXP S32G2/S32G3 SoCs support Message-ID: <202409280936.0GoVcXMc-lkp@intel.com> References: <20240926143122.1385658-4-andrei.stefanescu@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240926143122.1385658-4-andrei.stefanescu@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240927_190111_654122_FF29EED9 X-CRM114-Status: GOOD ( 13.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Andrei, kernel test robot noticed the following build warnings: [auto build test WARNING on brgl/gpio/for-next] [also build test WARNING on driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus robh/for-next linus/master v6.11 next-20240927] [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/Andrei-Stefanescu/drivers-provide-devm_platform_get_and_ioremap_resource_byname/20240926-223448 base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next patch link: https://lore.kernel.org/r/20240926143122.1385658-4-andrei.stefanescu%40oss.nxp.com patch subject: [PATCH v4 3/4] gpio: siul2-s32g2: add NXP S32G2/S32G3 SoCs support config: mips-randconfig-r123-20240928 (https://download.01.org/0day-ci/archive/20240928/202409280936.0GoVcXMc-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 14.1.0 reproduce: (https://download.01.org/0day-ci/archive/20240928/202409280936.0GoVcXMc-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/202409280936.0GoVcXMc-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpio/gpio-siul2-s32g2.c:296:46: sparse: sparse: incompatible types in comparison expression (different type sizes): drivers/gpio/gpio-siul2-s32g2.c:296:46: sparse: unsigned int * drivers/gpio/gpio-siul2-s32g2.c:296:46: sparse: unsigned long long [usertype] * drivers/gpio/gpio-siul2-s32g2.c:143:9: sparse: sparse: context imbalance in 'siul2_gpio_set_direction' - wrong count at exit drivers/gpio/gpio-siul2-s32g2.c:296:46: sparse: sparse: shift too big (32) for type unsigned int vim +296 drivers/gpio/gpio-siul2-s32g2.c 273 274 static struct regmap *common_regmap_init(struct platform_device *pdev, 275 struct regmap_config *conf, 276 const char *name) 277 { 278 struct device *dev = &pdev->dev; 279 struct resource *res; 280 resource_size_t size; 281 void __iomem *base; 282 283 base = devm_platform_get_and_ioremap_resource_byname(pdev, name, &res); 284 if (IS_ERR(base)) { 285 dev_err(&pdev->dev, "Failed to get MEM resource: %s\n", name); 286 return ERR_PTR(-EINVAL); 287 } 288 289 size = resource_size(res); 290 conf->val_bits = conf->reg_stride * 8; 291 conf->max_register = size - conf->reg_stride; 292 conf->name = name; 293 conf->use_raw_spinlock = true; 294 295 if (conf->cache_type != REGCACHE_NONE) > 296 conf->num_reg_defaults_raw = do_div(size, conf->reg_stride); 297 298 return devm_regmap_init_mmio(dev, base, conf); 299 } 300 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki