Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp112376pxu; Wed, 6 Jan 2021 23:23:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPQfF75l8ExjdC6Asvw8Y7jmmYRYDXIcVfaRsUW7h/KG9UUP5M11Bme8+qqDXtjt3OQ0w5 X-Received: by 2002:aa7:c444:: with SMTP id n4mr673633edr.226.1610004225236; Wed, 06 Jan 2021 23:23:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610004225; cv=none; d=google.com; s=arc-20160816; b=U+TuQN03nmSYJvaXy9/HNqITDSMwC32j1FwZXts/hvi21olGBnafLWEQ8TqMcJbp2K gdk3W1how3QHbDVPJhu7pcOQOLDaK+00QpcjWQAigsBb692Sb9wQf5+lykHJRuEDdiXx SXD/cQL399l3CdUK3Ez04h3w6y/P06JUiKEicynGw76qmdxLIzzBIwPh2gwPp78fvfao SyRKE5IAhTnygmXDHpYstOXT//roz55ouVRyGiHLhMRJobHC/0eQjo8K0ASb7LiVsR9w Ovt8RMo36U4W5WYCvcbYK07sAM69GJNLJHsbc4AMHQ7TLjwMUvzBn8SVp0Vwz1XlQYmE 1XSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=vNRhTOy8vmR7v1GX8zAuyJROMeXWSYY/BOB1XonfImQ=; b=QPFiGYqTPyhmkZRCLNe+NIsuyXR3X2/GNiE3cKjbWJi/vR3txOFyTvrZNkfEtm0a7i T8v2LVLUuklQ/sJQG6S3Rj1aUA/F8iZz6i5IEPFn25of4Sb40x9UkOLQSklP/uPHg+/F 2D4A3wDb9rQ0B1ndnFdLgTo6WNem9HVBk51YNT6FOpiz3gmwbnIP59soy9UQsWZHse6L xyeX8MhDnVSzyGM05aqFAxkWYYl6DLjWoF5/1vsPOWjwKQqAMvum5rlG1SkAu3AS4sYM is47sGR7RBHNpaG0I2jnvnKfzwTLoh1VtkRkWXclrSbrvx+hU2mZJtnYac1rbybHi8Lj 86nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Qt6skmY8; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si1860170edb.130.2021.01.06.23.23.21; Wed, 06 Jan 2021 23:23:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Qt6skmY8; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbhAGHVN (ORCPT + 99 others); Thu, 7 Jan 2021 02:21:13 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:41892 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbhAGHVM (ORCPT ); Thu, 7 Jan 2021 02:21:12 -0500 From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1610004030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vNRhTOy8vmR7v1GX8zAuyJROMeXWSYY/BOB1XonfImQ=; b=Qt6skmY8WjX0mXwWlGbEs489joXmaZQnNIf1W47KGMJq1WQxzcaq67mtmnldxkqIWjHyjZ IeFu1lOyv+NtwjDOlQTRbB13D1Us2KjuhFWF5VlNwo5GjdAlcWzjZP9zRTAnem/aSqrwD6 sH7W9Jyb3iz28QGnG0LmzSjxB1ZoZSb3O48sFAg2ucfYIu7zfE1Hw/IBivg9piktO+oIHB Gq7CG/c4fdHiNCHOW9h/7YyBz/UWW53XpwZhkJCn6fDXLrpV8xcIbwU2P+4GvYjClfgN8Y n1wZpEg2ojnNGdasdBJbnIkUGt0vd5pbiOrORaLEgegBnIW7bhRZ3CgpemlOsw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1610004030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vNRhTOy8vmR7v1GX8zAuyJROMeXWSYY/BOB1XonfImQ=; b=sf7TSXnRR1xRogjhbhWbPFszIec1AdWCrJ9ND0FFVu+9lgnOEIRLyJ7L4jfozOhNcjSYbc BSN7vP2X7VHvxDDg== To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski Subject: Re: [PATCH] net: dsa: fix led_classdev build errors In-Reply-To: <20210106021815.31796-1-rdunlap@infradead.org> References: <20210106021815.31796-1-rdunlap@infradead.org> Date: Thu, 07 Jan 2021 08:20:29 +0100 Message-ID: <87eeixw6v6.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain On Tue Jan 05 2021, Randy Dunlap wrote: > Fix build errors when LEDS_CLASS=m and NET_DSA_HIRSCHMANN_HELLCREEK=y. > This limits the latter to =m when LEDS_CLASS=m. > > microblaze-linux-ld: drivers/net/dsa/hirschmann/hellcreek_ptp.o: in function `hellcreek_ptp_setup': > (.text+0xf80): undefined reference to `led_classdev_register_ext' > microblaze-linux-ld: (.text+0xf94): undefined reference to `led_classdev_register_ext' > microblaze-linux-ld: drivers/net/dsa/hirschmann/hellcreek_ptp.o: in function `hellcreek_ptp_free': > (.text+0x1018): undefined reference to `led_classdev_unregister' > microblaze-linux-ld: (.text+0x1024): undefined reference to `led_classdev_unregister' > > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Link: lore.kernel.org/r/202101060655.iUvMJqS2-lkp@intel.com > Cc: Kurt Kanzenbach > Cc: netdev@vger.kernel.org > Cc: "David S. Miller" > Cc: Jakub Kicinski Fixes: 7d9ee2e8ff15 ("net: dsa: hellcreek: Add PTP status LEDs") Reviewed-by: Kurt Kanzenbach Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEooWgvezyxHPhdEojeSpbgcuY8KYFAl/2tj0ACgkQeSpbgcuY 8KblaA//QjU9XsxK9jcAIaljLq1gvl4dFlPEKfTXK7EqERQj49A+skHkRYO9BDR3 ijPMgm6wt2cmMXWPx4tApaf+iwEps+ZRTuZ6AU5EKyGB/+FhYif5c9jmCI2FZ4OG YlI04Ic+AV4JwuO8Ta95yepyqmkFtUcc9F0FKKzi8Z1uJRXcMq1B3IQUOZm8UsMN YXdNMLFYHYVjFdFqnXG9SQmboCecD4VJ5qOlucYu3YdQtgoGkjsrqCe7Jhw/Ye16 B8YZlxDiqKA/AHbMg/LpQulri1WiDjec/7GrAbLF0aa4mizGLag2kURcz39dL7wN /AGRyzTwS4obtpuVcjOUB6z4J4vbhi0GhebhPo40RNhVeiMwwMvyXdlBgQn14Qpr GAgvNRzffRDa2V2CBwODqs/4WFPZJjs63PXpnz6fDjFhoXMnjsU3hDIDHiwHIxah 2Rzw1ZJoDkujSKJQpasG6HTXmFSa1xgUyoK2arONDaXwg+iwQLSdqkRMudp9x467 pmlQ53T/6a6TFRbkyYBqnf1vHt3mteucKJpG/N4R+03yFS7+PWJHhBIQc0yVIEP9 K/rImGFsSBxo8ybfw9XWvN24NA1DGcuVUvrtwp95YE60mjqH2k/5LhQfElP4xmJ0 U5cEb64fVzzP+0/QiPdrxQyTsz4x1KmieFYgvli5w7SPPVad0e0= =I9yy -----END PGP SIGNATURE----- --=-=-=--