Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp573575pxb; Tue, 15 Feb 2022 22:31:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYg1EkfExLN+6qiUOpjGITTeAN3Ht8tPKLNKfd4cX0HYKhJgolhO7uV5h949JivHDu3wbT X-Received: by 2002:a63:8a4b:0:b0:340:47d6:4e6a with SMTP id y72-20020a638a4b000000b0034047d64e6amr1106170pgd.89.1644993086762; Tue, 15 Feb 2022 22:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644993086; cv=none; d=google.com; s=arc-20160816; b=FPNEOY+cZSqxRemz7BapbuDuUaSC/3NJPoTJ1kAy934/6Gq7mMHRHVYmj+5SdCY5Fy BEiMiUaUuen9YwKfLGLLpz36qVXLum9xUHbqVzFeYeZ6BRWIFrkjpCrdDF8a48Dizvh5 kJ7RFdqxCTMqe61VYxANHmqU7yNVQ7DClCnuE4a7FiDTE7aoaa1zqj7t6I7v6RV7Bpi5 9nXVvQhvn3iJnTzbZa918IV2XAioZoKUU8YhqwdRnHVsdFq4PrXvPa64Qkw09bwg7T3Y 39OMoDxUqlaymb5j40tTHVG9bcoYPIHeVXCeAG1PWsshnIl4aGIXnYKkK8RZ2++h9to+ 1jGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yKD8NqQ7ayRSovDnAljPcutgShoOAJMVJTBgGcZpekg=; b=G93tMFnzhBrGQd7RCznZGFxOE7q3MJkHNdzmQXzFF+AUdDETBTwJXTMHW9zuiOgmYx 6XoH+/FYgxMQ3IabNZvI3pIwIphTWWAz0/J6/tkCIBmu86xSpa3OLNl7Lv1shc/ipEQG QN9KuKpE6lNtY6zO3Uft0mGkY/ipIR45BmPBpsjaYoPpGU5JrSkaWLAAUSH0SD7u2/Ck ICziC/rQjlHK/2kKmjfuKYaETUPUle1tm3LhyTTF85hGDFSXC0/zjmjdpxZmcMwJ4G4y 6uOo5PvvnTYwNThS3MDdUvsIZ9T0krqR/n3Yp5KMZEO+aHGC+EkP+Ywh9ZJnZNLVjWLl 7wcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dQ221f7R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nv15si775401pjb.121.2022.02.15.22.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:31:26 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dQ221f7R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EC271AA26A; Tue, 15 Feb 2022 22:25:24 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238575AbiBOOTG (ORCPT + 99 others); Tue, 15 Feb 2022 09:19:06 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbiBOOTG (ORCPT ); Tue, 15 Feb 2022 09:19:06 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B9B6B16D3; Tue, 15 Feb 2022 06:18:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644934736; x=1676470736; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=orXD2LKbgOOvkF5cZIbblDrtOCqS+mecgx/2vVgqzeg=; b=dQ221f7RBdHamEGjA4ZwlQzgVXMhh85r/wU7GIiJtSM59ZzbOnQijcf+ SkwLpwkI2XDPwf4wUZwLjkO1yYUJKarA9deXXUInvZ28dLRNrJUFv1RoL omsYeVBdjJD2FKIA926ypYW2PfXulPWoSlLH515uWu4VzVXKT+dyLbwx0 ONHIJQPzbHu3WVLeG8R7tsiaqbQfVSS1TyQwuxHmP9hjrtNTHGBoxjNqW NbTFd88KANa2siTC7B2A+Z/IUNC3KxqmsrHtRbsWwPIRTCOOImCSBaL+/ UkOhnlHhVcM4dEObQvZ2sqb9bpFj4Kf9hCmLUfFYSwqWUrFtnr6TrrdH0 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="230987963" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="230987963" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 06:18:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="486195062" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 15 Feb 2022 06:18:51 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nJyfL-0009k8-3w; Tue, 15 Feb 2022 14:18:51 +0000 Date: Tue, 15 Feb 2022 22:18:09 +0800 From: kernel test robot To: Satya Priya , Bjorn Andersson , Rob Herring Cc: kbuild-all@lists.01.org, Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_jprakash@quicinc.com, Satya Priya Subject: Re: [PATCH V6 3/6] mfd: pm8008: Add mfd cell struct to register LDOs Message-ID: <202202152228.Mmfx9SWj-lkp@intel.com> References: <1644915231-7308-4-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1644915231-7308-4-git-send-email-quic_c_skakit@quicinc.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Satya, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20220214] [also build test ERROR on v5.17-rc4] [cannot apply to robh/for-next broonie-regulator/for-next lee-mfd/for-mfd-next v5.17-rc4 v5.17-rc3 v5.17-rc2] [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] url: https://github.com/0day-ci/linux/commits/Satya-Priya/Add-Qualcomm-Technologies-Inc-PM8008-regulator-driver/20220215-165525 base: 259cbfc98c55ba3b6ef6e61fb7cfc3751dfded1e config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220215/202202152228.Mmfx9SWj-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/12b686033a10eae2956b1c8436bfaa8c411baa92 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Satya-Priya/Add-Qualcomm-Technologies-Inc-PM8008-regulator-driver/20220215-165525 git checkout 12b686033a10eae2956b1c8436bfaa8c411baa92 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/mfd/qcom-pm8008.c:272:1: error: expected ',' or ';' before 'static' 272 | static struct i2c_driver pm8008_mfd_driver = { | ^~~~~~ In file included from drivers/mfd/qcom-pm8008.c:7: drivers/mfd/qcom-pm8008.c: In function 'pm8008_mfd_driver_init': >> drivers/mfd/qcom-pm8008.c:279:19: error: 'pm8008_mfd_driver' undeclared (first use in this function); did you mean 'pm8008_mfd_driver_init'? 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ include/linux/i2c.h:886:42: note: in definition of macro 'i2c_add_driver' 886 | i2c_register_driver(THIS_MODULE, driver) | ^~~~~~ include/linux/i2c.h:954:9: note: in expansion of macro 'module_driver' 954 | module_driver(__i2c_driver, i2c_add_driver, \ | ^~~~~~~~~~~~~ drivers/mfd/qcom-pm8008.c:279:1: note: in expansion of macro 'module_i2c_driver' 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ drivers/mfd/qcom-pm8008.c:279:19: note: each undeclared identifier is reported only once for each function it appears in 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ include/linux/i2c.h:886:42: note: in definition of macro 'i2c_add_driver' 886 | i2c_register_driver(THIS_MODULE, driver) | ^~~~~~ include/linux/i2c.h:954:9: note: in expansion of macro 'module_driver' 954 | module_driver(__i2c_driver, i2c_add_driver, \ | ^~~~~~~~~~~~~ drivers/mfd/qcom-pm8008.c:279:1: note: in expansion of macro 'module_i2c_driver' 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ In file included from include/linux/device.h:32, from include/linux/acpi.h:15, from include/linux/i2c.h:13, from drivers/mfd/qcom-pm8008.c:7: drivers/mfd/qcom-pm8008.c: In function 'pm8008_mfd_driver_exit': drivers/mfd/qcom-pm8008.c:279:19: error: 'pm8008_mfd_driver' undeclared (first use in this function); did you mean 'pm8008_mfd_driver_exit'? 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ include/linux/device/driver.h:267:24: note: in definition of macro 'module_driver' 267 | __unregister(&(__driver) , ##__VA_ARGS__); \ | ^~~~~~~~ drivers/mfd/qcom-pm8008.c:279:1: note: in expansion of macro 'module_i2c_driver' 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ drivers/mfd/qcom-pm8008.c: In function 'pm8008_mfd_driver_init': include/linux/device/driver.h:263:1: error: control reaches end of non-void function [-Werror=return-type] 263 | } \ | ^ include/linux/i2c.h:954:9: note: in expansion of macro 'module_driver' 954 | module_driver(__i2c_driver, i2c_add_driver, \ | ^~~~~~~~~~~~~ drivers/mfd/qcom-pm8008.c:279:1: note: in expansion of macro 'module_i2c_driver' 279 | module_i2c_driver(pm8008_mfd_driver); | ^~~~~~~~~~~~~~~~~ At top level: drivers/mfd/qcom-pm8008.c:230:12: warning: 'pm8008_probe' defined but not used [-Wunused-function] 230 | static int pm8008_probe(struct i2c_client *client) | ^~~~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_SOC_LPASS_RX_MACRO Depends on SOUND && !UML && SND && SND_SOC && COMMON_CLK Selected by - SND_SOC_SC7280 && SOUND && !UML && SND && SND_SOC && SND_SOC_QCOM && (I2C && SOUNDWIRE || COMPILE_TEST WARNING: unmet direct dependencies detected for SND_SOC_LPASS_TX_MACRO Depends on SOUND && !UML && SND && SND_SOC && COMMON_CLK Selected by - SND_SOC_SC7280 && SOUND && !UML && SND && SND_SOC && SND_SOC_QCOM && (I2C && SOUNDWIRE || COMPILE_TEST vim +272 drivers/mfd/qcom-pm8008.c 6b149f3310a466 Guru Das Srinagesh 2021-05-25 271 6b149f3310a466 Guru Das Srinagesh 2021-05-25 @272 static struct i2c_driver pm8008_mfd_driver = { 6b149f3310a466 Guru Das Srinagesh 2021-05-25 273 .driver = { 6b149f3310a466 Guru Das Srinagesh 2021-05-25 274 .name = "pm8008", 6b149f3310a466 Guru Das Srinagesh 2021-05-25 275 .of_match_table = pm8008_match, 6b149f3310a466 Guru Das Srinagesh 2021-05-25 276 }, 6b149f3310a466 Guru Das Srinagesh 2021-05-25 277 .probe_new = pm8008_probe, 6b149f3310a466 Guru Das Srinagesh 2021-05-25 278 }; 6b149f3310a466 Guru Das Srinagesh 2021-05-25 @279 module_i2c_driver(pm8008_mfd_driver); 6b149f3310a466 Guru Das Srinagesh 2021-05-25 280 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org