Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2004724rda; Tue, 24 Oct 2023 09:24:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW4qlG6eeoaSzkp0eGCH2uAiyo99j0V7f4qQBXIlF+gd+nYwyO0zPCRZzXAKbUwiV94Ggk X-Received: by 2002:a05:6a21:35c8:b0:134:30a8:9df5 with SMTP id ba8-20020a056a2135c800b0013430a89df5mr3198647pzc.43.1698164681677; Tue, 24 Oct 2023 09:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698164681; cv=none; d=google.com; s=arc-20160816; b=XF636X6/QskpS8S/UNDnGsPoAyR+yfdjHA3wHBn4LKBBMHr0JqPAht/8Phans/Rkg9 WcTOfSon47qpG2dqcmUQCsbKJtkuPcKQjqgdFonhibEUoW95bK4uI5ai+EVliuW7LfSn bnprb/b8VrtFns0rOLhiIGtqWHC3ZJigC+lte2yPtEVDbdEEuxMdRMe9fe+3m1yR5ubp 2VkuouuPWo15vYaPmAGzQCxCpoqI+3LxJ0iL5LVf4KjnOytxhYfYNBYazFyogZs+5N8D Z2TC5jEgPx0kq1DMovr4YIzvE3KKnuZfLhPzCmehTgURY3ifQUp5kznbYcOOnXP7xHm7 WZUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DrqBEdBzRg3oiFgq9Zu71WmMQycDFrJ2HzZ4qv/Qeac=; fh=yszGFQJGc2lT4dhmtcjJlQtnL9Po15212bkk2zHxqkY=; b=MAPiTfO4dBbGwTcnlhrJFXPPB1wPbqNergJILay27JRjPZbuFyYaGuqbHjw45RSAUh c70965ae3Jqd7gKTWQ23QatDSrE/RuWyGwu1eHYsnDzHj5RJRWeeGNo1HhJpn4N3RdD7 GxmJtVkDEhZDodZy/xBze6jx5dsrNZ72oXb1Xhj2e/UcpW7BFdrHn/tjRBEluJn+WoBM V705xrClYsHfN0bsXZGmjqYcCride7BB+BqSmRogOUncPAVQi8WIYTzCGfleNFEmpGOr yZwiJbmD2CEk94qfdQ1bqs9ml+21TagwnZAb6UU+O2jXGHJbUQm/WAsF45MlQYV3DHQr d2lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SFaMNCen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id d24-20020a63f258000000b00578d5a135dasi8861106pgk.891.2023.10.24.09.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 09:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SFaMNCen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A474080C5CA1; Tue, 24 Oct 2023 09:24:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343599AbjJXQYI (ORCPT + 99 others); Tue, 24 Oct 2023 12:24:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234740AbjJXQYH (ORCPT ); Tue, 24 Oct 2023 12:24:07 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8451BE8; Tue, 24 Oct 2023 09:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698164645; x=1729700645; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+n1qPH4vrHP2kR+bbs48XwN/8n1d9jlcd6QnuD/dU0Y=; b=SFaMNCenTWUp33jkqK+7EV9DwViV/JX6GwJ0nFXurZT/7X5u6U8vPLty DE0/hwXXShGh3R3Lia+sv8LThybjPJlMAg1pb4H+4xfchIEWlfWwg+d7b fu/RhecU6ofM189pVJrUYCdHd4d/w/VJWr4B/8MrIbCG0OtFYtQJT6Ezg 9h08UdVt1NRUPAN62waio8cuIlckbNszJcpd4+5Fra12+henEo6Yh69rM IPgCFrhoH0Qtcz/bBm45NBRg9YYHsS7NI3YYwobV4yVb94rGthcyrUSkV A1X1dZplIcd+OGjhoqBBvw0to36XaxyEJzvmJLPyMEsFUdSQw/fiI7uLO Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="473334674" X-IronPort-AV: E=Sophos;i="6.03,248,1694761200"; d="scan'208";a="473334674" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 09:17:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10873"; a="708369080" X-IronPort-AV: E=Sophos;i="6.03,248,1694761200"; d="scan'208";a="708369080" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 24 Oct 2023 09:17:10 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qvK5b-00081l-2w; Tue, 24 Oct 2023 16:17:07 +0000 Date: Wed, 25 Oct 2023 00:16:18 +0800 From: kernel test robot To: Jim Liu , JJLIU0@nuvoton.com, linus.walleij@linaro.org, krzysztof.kozlowski+dt@linaro.org, brgl@bgdev.pl Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v6 3/3] gpio: nuvoton: Add Nuvoton NPCM sgpio driver Message-ID: <202310250031.1SKs6CHt-lkp@intel.com> References: <20231024090631.3359592-4-jim.t90615@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231024090631.3359592-4-jim.t90615@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 09:24:38 -0700 (PDT) Hi Jim, kernel test robot noticed the following build warnings: [auto build test WARNING on brgl/gpio/for-next] [also build test WARNING on robh/for-next linus/master v6.6-rc7 next-20231024] [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/Jim-Liu/dt-bindings-gpio-add-NPCM-sgpio-driver-bindings/20231024-170835 base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next patch link: https://lore.kernel.org/r/20231024090631.3359592-4-jim.t90615%40gmail.com patch subject: [PATCH v6 3/3] gpio: nuvoton: Add Nuvoton NPCM sgpio driver config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20231025/202310250031.1SKs6CHt-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231025/202310250031.1SKs6CHt-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/202310250031.1SKs6CHt-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/gpio/gpio-npcm-sgpio.c: In function 'bank_reg': >> drivers/gpio/gpio-npcm-sgpio.c:150:24: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 150 | return -EINVAL; | ^ drivers/gpio/gpio-npcm-sgpio.c: In function 'npcm_sgpio_setup_irqs': >> drivers/gpio/gpio-npcm-sgpio.c:506:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 506 | irq->chip = &sgpio_irq_chip; | ^ drivers/gpio/gpio-npcm-sgpio.c: In function 'npcm_sgpio_probe': >> drivers/gpio/gpio-npcm-sgpio.c:559:36: warning: unused variable 'sgpio_freq' [-Wunused-variable] 559 | u32 nin_gpios, nout_gpios, sgpio_freq; | ^~~~~~~~~~ vim +150 drivers/gpio/gpio-npcm-sgpio.c 133 134 static void __iomem *bank_reg(struct npcm_sgpio *gpio, 135 const struct npcm_sgpio_bank *bank, 136 const enum npcm_sgpio_reg reg) 137 { 138 switch (reg) { 139 case READ_DATA: 140 return gpio->base + bank->rdata_reg; 141 case WRITE_DATA: 142 return gpio->base + bank->wdata_reg; 143 case EVENT_CFG: 144 return gpio->base + bank->event_config; 145 case EVENT_STS: 146 return gpio->base + bank->event_status; 147 default: 148 /* actually if code runs to here, it's an error case */ 149 WARN(true, "Getting here is an error condition"); > 150 return -EINVAL; 151 } 152 } 153 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki