Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp250284rdb; Thu, 22 Feb 2024 02:30:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXoTPJB9jxp73DpntoSz1CJXTcbSjYPk8rUblPyE4IkoRHrVdbnzxhEojjOJga7QJjljnUG6iWpH1Bd/IhWQ/DnkoGHRjJdP5+rEYdrzg== X-Google-Smtp-Source: AGHT+IG9Hlu6NH+n9ASOF21GWYXMkuMCiTpDoeB09S1p2d4HpRDQcMfEpmooV8UWmN4bjHMBBNcU X-Received: by 2002:a05:6358:6f0b:b0:178:9393:176c with SMTP id r11-20020a0563586f0b00b001789393176cmr22834255rwn.15.1708597832904; Thu, 22 Feb 2024 02:30:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708597832; cv=pass; d=google.com; s=arc-20160816; b=mtacvutnn9qS39JL40fLd4JPgJ5AIbXXZ2uMDMVuHIwyqyT7e4E2Oy5kVvkka9WyIR H3bd3B7eXqAwEbOzwypNYASlZlYJSrvnAsiSJsnWooV2qj0vLgC7uKRifbQyaF1HMNNe On0KavJMF/vxjJsg12iWtmgwFlPa7hoahxgG86iKbP/rB7kxAJcVZ/exgjRsj9+dKaa/ heiY0A1tPNClr0/MFdW1sWVUI490gfCCA/+fO9RsIZfmQLgztFiNMCEK2JaCEmkfObkZ Gp+BfX2v6rK3qOvdMUtYoa+eqFv73veeqffR1Y3MchWHQgrVrnPBA30FMhi/KsUxQvp0 l2qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=+WEazJwM3qfcPs1tjbWvVQyam9fsjKxlztGL6uXpGHo=; fh=tzxAcZ9XLOWKG8cqhi3tRE+YO3SHvEeyC8N7dWcoQPM=; b=VjIcP96yo/f72jyZ2bs3HopIbon7hAr4/8a3RXnD7EusdJ/lFdpeLdhJKZ7CEwv96n wxrdLIQnHEIaDYPK6E3x2PXmiLox15QLLt+PjVw0QAJyEQKbskDyCV5QDmt4t7yRWmw1 +htG0bRhRLHyrmhcRdLE+g8A5g1DqFaPFbv1t1MOIALvyiZnKiD5VhVZ7LtIBbpK9TUM rwVttR31oUYpuUcNLd9sE6DtnTAJn/8tbISTEPViaHDl/7rQcz0d+sqjGQ8gd4ApVOUB LFPTRLssg9Zx0Am2T54mFx1YJjM6gIGQNoQZO/MVrpDfFPfTzT8N2dwgmKZY6cEDoEuB Q2Pg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-76314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76314-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fh27-20020a056a00391b00b006ddd324290dsi10090450pfb.204.2024.02.22.02.30.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 02:30:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-76314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76314-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B790D287FE8 for ; Thu, 22 Feb 2024 10:22:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABDE53A1C6; Thu, 22 Feb 2024 10:22:01 +0000 (UTC) Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C718638F88; Thu, 22 Feb 2024 10:21:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708597321; cv=none; b=f7Hb9I/S4OuNv59gWs5AsRuvKp4uWav7z2Us4gxJz0EtHzVwmhlCacY2iK+DWmuhZl3A2kc/oAje89bHcXV23hJ3sFdhdbT/cEfSxPwPkt6OumC1xRskorn+pvSqRjMmUOaouthtMWRzCKfYKSM6hZqdv7gQ07HFfoZEBd93cHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708597321; c=relaxed/simple; bh=h9oSTywzl9Hi2AcCRwxhES/clvN6ZDIc4hLI+kvwq58=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Dw514QKzKCgqSSLd/oeQkvyeFWDroQH1pzPpuC7D9lh7O2OM7iJPi6K+ZPrnQud4Gkcqv8lM3SMITMDGQXhY8v7OrIwRGoI+BWRP9Z2dtaAJ+8MQnJ+oQnIaXrZN8AaY6d5No5c9Cs13S4RiQ7heXwNK2fOjUmJKVTZ0efANlOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [192.168.0.6] (ip5f5af3d6.dynamic.kabel-deutschland.de [95.90.243.214]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 57D4861E5FE01; Thu, 22 Feb 2024 11:21:11 +0100 (CET) Message-ID: <7e3adb79-4eec-4631-bedd-047f849c6b4b@molgen.mpg.de> Date: Thu, 22 Feb 2024 11:21:10 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Intel-wired-lan] [PATCH] igc: fix LEDS_CLASS dependency Content-Language: en-US To: Arnd Bergmann Cc: Jesse Brandeburg , Tony Nguyen , Andrew Lunn , Arnd Bergmann , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Dumazet , intel-wired-lan@lists.osuosl.org, Jakub Kicinski , Paolo Abeni , "David S. Miller" References: <20240222100324.453272-1-arnd@kernel.org> From: Paul Menzel In-Reply-To: <20240222100324.453272-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dear Arnd, Thank you for the patch. Am 22.02.24 um 11:02 schrieb Arnd Bergmann: > From: Arnd Bergmann > > When IGC is built-in but LEDS_CLASS is a loadable module, there is > a link failure: > > x86_64-linux-ld: drivers/net/ethernet/intel/igc/igc_leds.o: in function `igc_led_setup': > igc_leds.c:(.text+0x75c): undefined reference to `devm_led_classdev_register_ext' > > Add another dependency that prevents this combination. > > Fixes: ea578703b03d ("igc: Add support for LEDs on i225/i226") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/intel/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig > index af7fa6856707..6e7901e12699 100644 > --- a/drivers/net/ethernet/intel/Kconfig > +++ b/drivers/net/ethernet/intel/Kconfig > @@ -372,6 +372,7 @@ config IGC > config IGC_LEDS > def_bool LEDS_TRIGGER_NETDEV > depends on IGC && LEDS_CLASS > + depends on LEDS_CLASS=y || IGC=m Should it be ordered as the line above? > help > Optional support for controlling the NIC LED's with the netdev > LED trigger. Kind regards, Paul