[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <3387426.dX5mCNm2tR@amdc3058>
Date: Mon, 07 Aug 2017 17:11:48 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Daniel Vetter <daniel.vetter@...ll.ch>,
Dan Carpenter <dan.carpenter@...cle.com>,
Sean Paul <seanpaul@...omium.org>,
Arvind Yadav <arvind.yadav.cs@...il.com>,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable
On Wednesday, August 02, 2017 11:36:47 AM Arnd Bergmann wrote:
> The variable has become unused in modular configurations
> which triggers a harmless warning:
>
> drivers/video/fbdev/matrox/matroxfb_base.c:1583:12: error: 'hotplug' defined but not used [-Werror=unused-variable]
>
> This moves it into an #ifdef section of the file, matching
> all its references.
>
> Fixes: 376b3ff54c9a ("fbdev: Nuke FBINFO_MODULE")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Patch queued for 4.14, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists