Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6208363iob; Tue, 10 May 2022 12:53:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy253Ho9waxW6fHgi43sddQCwQl51VmAg1GD+mm5rtTbmAjlJ9mjcRCIT+vxlKS6L+4SpPN X-Received: by 2002:a17:90a:ce95:b0:1db:d423:4b76 with SMTP id g21-20020a17090ace9500b001dbd4234b76mr1489463pju.90.1652212389706; Tue, 10 May 2022 12:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652212389; cv=none; d=google.com; s=arc-20160816; b=eWUUaR6c3LAtSWkFPEvIZdpug7hFoe0OpZZWYpmBKhOZUUUfIJ5yNSs4wvWTYm0eAc iJpbbQgT6Ge+O7PN5AY4X0s/bjpkkVIkxvqgZoKJFfY1UeXD+y4IUxTXiwfOyA8Ng4d0 1TIQOWDuIMVdG5tLI3KYYZsqI8I3n2WpZKz2H02+dBOWfKUmitAcC99D8+GyXIk8Uyqn kbS7RqeyXGmWIAZOBob8BWXNGAfjlzgVSH12iPNrOYxtsSDZoNizLMImAKbl73upgisA PjDe3CsLSDO1m55Mj8e9XdpD2ULgKb1kNG1uZFY+XAMIx8YYg+L9JeuIrS45mFpdGPrN BvEA== 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=Gx4ds1ilIp/aF38ehzLhnSrlsu9Qp/XZEbsutGChFng=; b=mYRhO8g0gz4UUYr+k5Y6QUzdR06c9NBcu3CNB/TVCxCpk1EYBq4/VPLbIm2F89xIFw R+Zgu+P42wbo3Xk2cOFq4FvdqLGZ9QMMPE0vJb9qjK/fcyONFLcMYOqQJH6Gwf9pWc4X mnLCYhv5Nf9+pLlh6FI8uVbXk7jGxnmVX9GcBENnW8Tzj29M3QvZXHYinCv/iHQebKGO l1mgHp7ZmyMvIuaT57d2UaxMvQZVEhdK0co7WgCUKinDYkUDq40m2c28Xn8hxXBRDPrk XGsC1fbT1RuPrCmOTM0nVMdLSEnE6ZLWvZ/QhZI3+Hu2bfwBhyvEiPQGMYjfnUvYjny9 jvxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=o40hQ1Xl; 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=bewilderbeest.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t18-20020a63d252000000b003a91660c8d2si284682pgi.276.2022.05.10.12.52.54; Tue, 10 May 2022 12:53:09 -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=@bewilderbeest.net header.s=thorn header.b=o40hQ1Xl; 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=bewilderbeest.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240052AbiEJKvb (ORCPT + 99 others); Tue, 10 May 2022 06:51:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240059AbiEJKvF (ORCPT ); Tue, 10 May 2022 06:51:05 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50F483467B for ; Tue, 10 May 2022 03:47:08 -0700 (PDT) Received: from hatter.bewilderbeest.net (174-21-163-222.tukw.qwest.net [174.21.163.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 53ED91B7; Tue, 10 May 2022 03:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1652179627; bh=Gx4ds1ilIp/aF38ehzLhnSrlsu9Qp/XZEbsutGChFng=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o40hQ1XlPrRYkp6cWQJTIZV2ofLmA0EXUPnKG3CEirNxXxy1B4zGXPtypDpY8Dpk1 QqJqUcbLoMdN09+jqmPcJ5TjzhGq05trbGUfM275t1kqggXYwl91jjGgnPlYpyiJpe 3VliwuRbdGV+Ah3BRRKVsmwhbjvHQFzP+EqAo6Wk= Date: Tue, 10 May 2022 03:47:06 -0700 From: Zev Weiss To: Stephen Rothwell Cc: Guenter Roeck , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the hwmon-staging tree Message-ID: References: <20220510201104.06eead74@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220510201104.06eead74@canb.auug.org.au> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, 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 On Tue, May 10, 2022 at 03:11:04AM PDT, Stephen Rothwell wrote: > Hi all, > > After merging the hwmon-staging tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > WARNING: unmet direct dependencies detected for SENSORS_NCT6775 > Depends on [n]: HWMON [=y] && !PPC [=y] && (ACPI_WMI [=n] || ACPI_WMI [=n]=n) > Selected by [y]: > - SENSORS_NCT6775_I2C [=y] && HWMON [=y] && I2C [=y] > > Probably introduced by commit > > 58f1d9ebfce6 ("hwmon: (nct6775) Add i2c driver") > Ah -- yes, thanks. The Kconfig symbols in that patch series underwent some changes between revisions during review and I missed a couple of places that should have been updated. I believe the patch below should fix it. Thanks, Zev From 817067c631ca7c7537be4bd18b0c9b5d2b735e54 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Tue, 10 May 2022 03:22:20 -0700 Subject: [PATCH] hwmon: (nct6775) Fix Kconfig references in SENSORS_NCT6775_I2C In the process of renaming some Kconfig symbols during the review process a couple of updates got omitted. Make the i2c driver select the correct dependency (the core module, not the platform driver), and refer to the intended symbol for the platform driver in its help text. Signed-off-by: Zev Weiss --- drivers/hwmon/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index fe49dccf16bf..590d3d550acb 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1506,7 +1506,7 @@ config SENSORS_NCT6775_I2C tristate "I2C driver for Nuvoton NCT6775F and compatibles" depends on I2C select REGMAP_I2C - select SENSORS_NCT6775 + select SENSORS_NCT6775_CORE help If you say yes here you get support for the hardware monitoring functionality of the Nuvoton NCT6106D, NCT6775F, NCT6776F, NCT6779D, @@ -1514,7 +1514,7 @@ config SENSORS_NCT6775_I2C Super-I/O chips via their I2C interface. If you're not building a kernel for a BMC, this is probably - not the driver you want (see CONFIG_SENSORS_NCT6775_PLATFORM). + not the driver you want (see CONFIG_SENSORS_NCT6775). This driver can also be built as a module. If so, the module will be called nct6775-i2c. -- 2.36.0