From mboxrd@z Thu Jan 1 00:00:00 1970 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 65F3AC61DA4 for ; Sat, 11 Mar 2023 11:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbjCKLgB (ORCPT ); Sat, 11 Mar 2023 06:36:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjCKLf4 (ORCPT ); Sat, 11 Mar 2023 06:35:56 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 606A3CDC6; Sat, 11 Mar 2023 03:35:54 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0F5801C0ABB; Sat, 11 Mar 2023 12:35:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1678534552; 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=8RICs1u+MjwfLG/CWgDSoV9LWZ0rCZiZnqHTLiSwNZg=; b=MMMgC/XaPUzlLBGwpdZnfG5XHV6Rd6l8syImTclPhze8z12nVS1T0xh2jSfJDmK6+W+yVQ +1aGL4hb8+G38vPLp0r++7Kj4D0Qsx65fy/Qis08iDD3vl8ojegGFetaNY2WznqyzR4+9Y RyNs+ai66Pu/4AYP86tCpR0ialiZ86s= Date: Sat, 11 Mar 2023 12:35:51 +0100 From: Pavel Machek To: Krzysztof Kozlowski Cc: Lee Jones , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: tlc591xx: Mark OF related data as maybe unused Message-ID: References: <20230311111717.252019-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QwladTTMgoGBbJiI" Content-Disposition: inline In-Reply-To: <20230311111717.252019-1-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QwladTTMgoGBbJiI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat 2023-03-11 12:17:17, Krzysztof Kozlowski wrote: > The driver can be compile tested with !CONFIG_OF making certain data > unused: >=20 > drivers/leds/leds-tlc591xx.c:138:34: error: =E2=80=98of_tlc591xx_leds_m= atch=E2=80=99 defined but not used [-Werror=3Dunused-const-variable=3D] >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Pavel Machek --=20 People of Russia, stop Putin before his war on Ukraine escalates. --QwladTTMgoGBbJiI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZAxnlwAKCRAw5/Bqldv6 8s6uAJ93PWtSt8cNgltMQ0dACRRK5i3k9QCguSMbcfuvXFxxGkUSXuH4TL3LyEU= =ekng -----END PGP SIGNATURE----- --QwladTTMgoGBbJiI--