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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09770C2FC14 for ; Thu, 17 Aug 2023 11:01:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350099AbjHQLBB (ORCPT ); Thu, 17 Aug 2023 07:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350164AbjHQLAu (ORCPT ); Thu, 17 Aug 2023 07:00:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A20EA2D4A; Thu, 17 Aug 2023 04:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692270049; x=1723806049; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZGk7RiEcgdAg1A/aGB9EIWVI5A1HCMU0JbtXo5dB29I=; b=J3KO/clbDWnx/eZeLboMQTGLOJPUbHzI5fFcyvwSxSdAD7s7hAmJJd3T zw9lnfD4BMtCKJLUna4nDSxX26XLIz+K1Ic/6MhE2CqjWG7hwCr7ACCZ4 q5/zZYVEWta78xQHJ6gucTL4dxOBqK3XnwydcM1V5On0u1jR0j5AkMkRG +3AoqVXOuTN4DBn12Tu2SZ2zFZoivgJjmoyhaX8MRbROA8g++MMEZJIvi +t/lEAwMphZIEM3JobksOroKyWVgiIjauMXoLOvtlYnF9Hx/8fsL3YgMn 77VZqkHP+y4HXifKEbj9UbIr1flWfjO6yffaBYxyc9Cy6lrMmNTMIbQlE g==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="439130936" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="439130936" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2023 04:00:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="800009768" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="800009768" Received: from lkp-server02.sh.intel.com (HELO a9caf1a0cf30) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 17 Aug 2023 04:00:45 -0700 Received: from kbuild by a9caf1a0cf30 with local (Exim 4.96) (envelope-from ) id 1qWak8-000143-1U; Thu, 17 Aug 2023 11:00:44 +0000 Date: Thu, 17 Aug 2023 19:00:01 +0800 From: kernel test robot To: Asmaa Mnebhi , andy.shevchenko@gmail.com, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, brgl@bgdev.pl, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Asmaa Mnebhi Subject: Re: [PATCH v2 2/2] gpio: mlxbf3: Support add_pin_ranges() Message-ID: <202308171834.7ikT2B4p-lkp@intel.com> References: <20230816154442.8417-3-asmaa@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230816154442.8417-3-asmaa@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Asmaa, kernel test robot noticed the following build warnings: [auto build test WARNING on linusw-pinctrl/devel] [also build test WARNING on linusw-pinctrl/for-next brgl/gpio/for-next linus/master v6.5-rc6 next-20230816] [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/Asmaa-Mnebhi/pinctrl-mlxbf3-Remove-gpio_disable_free/20230816-234711 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20230816154442.8417-3-asmaa%40nvidia.com patch subject: [PATCH v2 2/2] gpio: mlxbf3: Support add_pin_ranges() config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230817/202308171834.7ikT2B4p-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230817/202308171834.7ikT2B4p-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/202308171834.7ikT2B4p-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/gpio/gpio-mlxbf3.c: In function 'mlxbf3_gpio_add_pin_ranges': >> drivers/gpio/gpio-mlxbf3.c:164:13: warning: unused variable 'ret' [-Wunused-variable] 164 | int ret; | ^~~ vim +/ret +164 drivers/gpio/gpio-mlxbf3.c 160 161 static int mlxbf3_gpio_add_pin_ranges(struct gpio_chip *chip) 162 { 163 unsigned int id = 0; > 164 int ret; 165 166 if (chip->ngpio % MLXBF3_GPIO_MAX_PINS_PER_BLOCK) 167 id = 1; 168 169 return gpiochip_add_pin_range(chip, "MLNXBF34:00", 170 chip->base, id * MLXBF3_GPIO_MAX_PINS_PER_BLOCK, 171 chip->ngpio); 172 } 173 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki