[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161013.095624.2238565486310095630.davem@davemloft.net>
Date: Thu, 13 Oct 2016 09:56:24 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: chessman@....org, mugunthanvnm@...com, ivecera@...hat.com,
a@...table.cc, fw@...len.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tlan: avoid unused label with PCI=n
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 10 Oct 2016 14:41:10 +0200
> While build testing with randconfig on x86, I ran into this warning
> that appears to have been around forever
>
> drivers/net/ethernet/ti/tlan.c: In function ‘tlan_probe1’:
> drivers/net/ethernet/ti/tlan.c:614:1: error: label ‘err_out’ defined but not used [-Werror=unused-label]
>
> This can be trivially avoided by just moving the label into the
> existing #ifdef.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied, thanks Arnd.
Powered by blists - more mailing lists