From patchwork Wed Feb 9 00:15:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 541317 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 900F5C433F5 for ; Wed, 9 Feb 2022 00:15:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239326AbiBIAPx (ORCPT ); Tue, 8 Feb 2022 19:15:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239393AbiBIAPu (ORCPT ); Tue, 8 Feb 2022 19:15:50 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62890C061576; Tue, 8 Feb 2022 16:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=lJOw/VsM+kYcT/r7+TM/LOgN+0nAg/jllFVjzFoM+1w=; b=cF2+BNKws0UQ09BHu8hPNouc9E AbUDHIXPuBawoB/uMNaTtM/qDD4SnCeBoSm//klzhdjTXk6fF7b4B3TWrpIZJXDbOyPy8ZnOyfetI wd0CgTL4TjXE6UcB/QESUJC2St8GyxzYSj++nNvwfbpo5oVbJ2ceclV/kumhV9OHxkEnGq8+hJaq5 yDYu+4BPe8/DAzM2w0J5UoTjA0TC/uzCvpMJhFWJfn74mZ4XbVIAsSZ7mkFa8Syw3LRReAgDHoyyG A9ZEn0ONe3jvIPDmnAbVwuvR4yz5f2lXvz3RZVOWsgUHhWqS+sC8XGAJhLaY3sI0kWRRYlQMSXt7h 353Ld3FQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHaeB-00FqeX-HY; Wed, 09 Feb 2022 00:15:47 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Srinivas Pandruvada , Aubrey Li , Ricardo Neri , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , linux-pm@vger.kernel.org, Andrew Morton Subject: [PATCH -next] thermal: intel: INTEL_HFI_THERMAL depends on NET Date: Tue, 8 Feb 2022 16:15:46 -0800 Message-Id: <20220209001546.18189-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org THERMAL_NETLINK depends on NET and since 'select' does not follow any dependency chain, INTEL_HFI_THERMAL also should depend on NET. Fix one Kconfig warning and 48 subsequent build errors: WARNING: unmet direct dependencies detected for THERMAL_NETLINK Depends on [n]: THERMAL [=y] && NET [=n] Selected by [y]: - INTEL_HFI_THERMAL [=y] && THERMAL [=y] && (X86 [=y] || X86_INTEL_QUARK [=n] || COMPILE_TEST [=y]) && CPU_SUP_INTEL [=y] && X86_THERMAL_VECTOR [=y] Fixes: bd30cdfd9bd7 ("thermal: intel: hfi: Notify user space for HFI events") Signed-off-by: Randy Dunlap Cc: Srinivas Pandruvada Cc: Aubrey Li Cc: Ricardo Neri Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: Amit Kucheria Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: Andrew Morton --- Found in mmotm, linux-next.patch. drivers/thermal/intel/Kconfig | 1 + 1 file changed, 1 insertion(+) --- mmotm-2022-0208-1531.orig/drivers/thermal/intel/Kconfig +++ mmotm-2022-0208-1531/drivers/thermal/intel/Kconfig @@ -102,6 +102,7 @@ config INTEL_MENLOW config INTEL_HFI_THERMAL bool "Intel Hardware Feedback Interface" + depends on NET depends on CPU_SUP_INTEL depends on X86_THERMAL_VECTOR select THERMAL_NETLINK