Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705622

Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable
Date 2017-08-07 17:20 +0200
Message-ID <ubRYZ-1OG-3@gated-at.bofh.it> (permalink)
References <ubRYZ-1OG-5@gated-at.bofh.it> <u9Yie-86C-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@arndb.de>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] fbdev: matrox: hide unused 'hotplug' variable Arnd Bergmann <arnd@arndb.de> - 2017-08-02 11:40 +0200
  Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable Daniel Vetter <daniel@ffwll.ch> - 2017-08-02 12:10 +0200
    Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 13:20 +0200
      Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable Arnd Bergmann <arnd@arndb.de> - 2017-08-02 13:50 +0200
  Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-08-07 17:20 +0200

csiph-web