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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56569C46467 for ; Mon, 15 Nov 2021 20:10:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 495986323D for ; Mon, 15 Nov 2021 20:10:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349417AbhKOUMv (ORCPT ); Mon, 15 Nov 2021 15:12:51 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:34128 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346991AbhKOTiL (ORCPT ); Mon, 15 Nov 2021 14:38:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nW5K4LQEM487yoxv+Y8zAaOQtnroY01SoDtHwL7Mio0=; b=PtrGvvxPoPkYxF+U69ta6Na9LK xn63pEQr5OmM5Ot2IfKV0ic0p42gY8V4aggGqBx4lUx0do4DoehVxteVkhDGDHx2DeXD5vpGoVfd9 a85OCM2s6mNATqeK/5McdaMqbthdqpxbiKNSYdWPfPnpQIKG9HY63XJFaDOqyB9hK1Bk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mmhky-00DWaj-NC; Mon, 15 Nov 2021 20:35:08 +0100 Date: Mon, 15 Nov 2021 20:35:08 +0100 From: Andrew Lunn To: Marcin Wojtas Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, upstream@semihalf.com, kernel test robot Subject: Re: [net: PATCH] net: mvmdio: fix compilation warning Message-ID: References: <20211115153024.209083-1-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211115153024.209083-1-mw@semihalf.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Nov 15, 2021 at 04:30:24PM +0100, Marcin Wojtas wrote: > The kernel test robot reported a following issue: > > >> drivers/net/ethernet/marvell/mvmdio.c:426:36: warning: > unused variable 'orion_mdio_acpi_match' [-Wunused-const-variable] > static const struct acpi_device_id orion_mdio_acpi_match[] = { How come OF never gives these warning, just ACPI? If there something missing in ACPI which OF has? > Fixes: c54da4c1acb1 ("net: mvmdio: add ACPI support") > Reported-by: kernel test robot > Signed-off-by: Marcin Wojtas Reviewed-by: Andrew Lunn Andrew