Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4693130rwo; Tue, 25 Jul 2023 09:33:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlHGtgrMEWwLS9chQe2Lj1iuvXpP+NKh+jOhDD6the7gkO7HzdWaQm6QiT2dYi5xPNTin5sw X-Received: by 2002:a17:90a:bc92:b0:267:f9c4:c0a8 with SMTP id x18-20020a17090abc9200b00267f9c4c0a8mr7616575pjr.4.1690302795927; Tue, 25 Jul 2023 09:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690302795; cv=none; d=google.com; s=arc-20160816; b=OtDlw14mFx9UfyBN48HZ6IAxSrrKbBG33W4JeaSJaxfpkNDvpOP/lz4FJKivIlROyc igDe6X17XYhngqqNIL81/GQIkextG5X8MujeW1oUDLRc/x/itwMLRSFBPZbP4EHPDepI wV2v4gIvWmlH5XVZahwarCdNDGuFZMVTed1MY6RRm1uW1Qp+0E6CK5s6sD9tsr16FlLc 7oODS/E75O6MZr+opVK82pBcfn3ILpGQx1HgkTHnTd+SYWmJrIJZG8kSNmg8TeowNkZ5 hf605JY8PjJVn505jc0GBhtJpspY0PrvBwZrK9JGxSm0TDK1cZVla4jT4IMC9bw83ixe Iy3g== 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=HJlvkWqNzXcfLc8CxVBOKB6IUMqaA6CxCNPTYkT3p64=; fh=DJ0EgUFtVvZUAT5w9NeJH4E37ZLAIZCK09nICSF6uHs=; b=OwCmYYMl7ZVVkaq3MAlFQc0CqHh0B0KnQztdK6iCdhkD1gKsdU4JZS1gx8J0B7k40T OXsfIxEkASoKrD07TTpv5SZcoUepAnICiUzlbiPBTpXTFqupYPbdm6lovt1ZmW42i4nn 3pvROmGH1m8mMISl/eA5xOsTH+zPpAzY9cxoPF6YA3vRHK6+ku1Z1NsLvCLvm9pcBvRu +P4A8plBiQq7zFSba3UKgmMHZdyCPJJNbpcMTfmFcDzCWAjvLg/U/ucz/0yivN65Onh9 YnDFJPkiZVzGBJeOQw0aFZ0g2jzz5EMv/SySlbMXnJ4jLRq5qAwrwv2ZeTCdPYFkI8E0 fNCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MxNdEbEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 130-20020a630088000000b0054fd9f2dfebsi12139813pga.704.2023.07.25.09.33.03; Tue, 25 Jul 2023 09:33:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MxNdEbEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231590AbjGYQVa (ORCPT + 99 others); Tue, 25 Jul 2023 12:21:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230351AbjGYQV2 (ORCPT ); Tue, 25 Jul 2023 12:21:28 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465BDFD; Tue, 25 Jul 2023 09:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690302087; x=1721838087; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0OasnjKOD3DXt993jhCeH30cDw19eOOCFg/dQ9cwwO4=; b=MxNdEbEOT7TwsRgCMdBcgrrr02OeVpmc4VbKdLcyqYduHX7e301b8m+B t7mnamzTNMedRKOMfkE49+RNsSwWp+c4h49XJo2wX8uZ8MSAcV1AcfWi1 ua73543ahmW0AzoKQg2KfYIFa52s1H2Lach8LWn4nfc52JSIT5XZbIqus xDe+Kqul/KnCRPnWefFdt1GDU5d5xYMaViHT0Vtt/0gwoQiz4uLJTgtiM zvhAVI51d/EElxbsGmRa8JxNYoQDjzuebFzIsNmp9XqVl6jbtLGQWBPSA w+d7Z9Kva7KkRM6h1ri6oKslK9wX50+8s2h1tZB08L91PD3+NZK4lAt26 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="370448821" X-IronPort-AV: E=Sophos;i="6.01,230,1684825200"; d="scan'208";a="370448821" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2023 09:21:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10782"; a="720104629" X-IronPort-AV: E=Sophos;i="6.01,230,1684825200"; d="scan'208";a="720104629" Received: from lkp-server02.sh.intel.com (HELO 953e8cd98f7d) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 25 Jul 2023 09:21:24 -0700 Received: from kbuild by 953e8cd98f7d with local (Exim 4.96) (envelope-from ) id 1qOKm8-00008Z-1s; Tue, 25 Jul 2023 16:21:22 +0000 Date: Wed, 26 Jul 2023 00:19:40 +0800 From: kernel test robot To: Naresh Solanki , Guenter Roeck , Jean Delvare , krzysztof.kozlowski+dt@linaro.org Cc: oe-kbuild-all@lists.linux.dev, linux-hwmon@vger.kernel.org, Patrick Rudolph , Naresh Solanki , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] hwmon: (pmbus/tda38640) Add workaround for bug in SVID mode Message-ID: <202307260005.nDX1xks3-lkp@intel.com> References: <20230725114030.1860571-3-Naresh.Solanki@9elements.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230725114030.1860571-3-Naresh.Solanki@9elements.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Naresh, kernel test robot noticed the following build errors: [auto build test ERROR on 55612007f16b5d7b1fb83a7b0f5bb686829db7c7] url: https://github.com/intel-lab-lkp/linux/commits/Naresh-Solanki/hwmon-pmbus-Add-ON_OFF_CONFIG-register-bits/20230725-194318 base: 55612007f16b5d7b1fb83a7b0f5bb686829db7c7 patch link: https://lore.kernel.org/r/20230725114030.1860571-3-Naresh.Solanki%409elements.com patch subject: [PATCH 3/3] hwmon: (pmbus/tda38640) Add workaround for bug in SVID mode config: riscv-randconfig-r042-20230725 (https://download.01.org/0day-ci/archive/20230726/202307260005.nDX1xks3-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230726/202307260005.nDX1xks3-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/202307260005.nDX1xks3-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/hwmon/pmbus/tda38640.c: In function 'tda38640_probe': >> drivers/hwmon/pmbus/tda38640.c:118:14: error: 'CONFIG_SENSORS_TDA38640_REGULATOR' undeclared (first use in this function); did you mean 'CONFIG_SENSORS_TDA38640'? 118 | if (!CONFIG_SENSORS_TDA38640_REGULATOR || !np || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CONFIG_SENSORS_TDA38640 drivers/hwmon/pmbus/tda38640.c:118:14: note: each undeclared identifier is reported only once for each function it appears in vim +118 drivers/hwmon/pmbus/tda38640.c 106 107 static int tda38640_probe(struct i2c_client *client) 108 { 109 struct device *dev = &client->dev; 110 struct device_node *np = dev_of_node(dev); 111 struct tda38640_data *data; 112 113 data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); 114 if (!data) 115 return -ENOMEM; 116 memcpy(&data->info, &tda38640_info, sizeof(tda38640_info)); 117 > 118 if (!CONFIG_SENSORS_TDA38640_REGULATOR || !np || 119 of_property_read_u32(np, "infineon,en-pin-fixed-level", &data->en_pin_lvl)) 120 return pmbus_do_probe(client, &data->info); 121 122 /* 123 * Apply ON_OFF_CONFIG workaround as enabling the regulator using the 124 * OPERATION register doesn't work in SVID mode. 125 */ 126 data->info.read_byte_data = tda38640_read_byte_data; 127 data->info.write_byte_data = tda38640_write_byte_data; 128 /* 129 * One should configure PMBUS_ON_OFF_CONFIG here, but 130 * PB_ON_OFF_CONFIG_POWERUP_CONTROL, PB_ON_OFF_CONFIG_EN_PIN_REQ and 131 * PB_ON_OFF_CONFIG_EN_PIN_REQ are ignored by the device. 132 * Only PB_ON_OFF_CONFIG_POLARITY_HIGH has an effect. 133 */ 134 135 return pmbus_do_probe(client, &data->info); 136 } 137 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki