lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKMK7uG+g=mwiGFyBTWr0aUS3=9qMgXcbvYM28QqXFjsJhYe=g@mail.gmail.com>
Date:   Wed, 24 Aug 2016 12:22:54 +0200
From:   Daniel Vetter <daniel.vetter@...ll.ch>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     Dave Airlie <airlied@...hat.com>, David Airlie <airlied@...ux.ie>,
        Noralf Trønnes <noralf@...nnes.org>,
        Chris Wilson <chris@...is-wilson.co.uk>,
        dri-devel <dri-devel@...ts.freedesktop.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fb: udl: fix build without CONFIG_FB_DEFERRED_IO

On Wed, Aug 24, 2016 at 12:02 PM, Arnd Bergmann <arnd@...db.de> wrote:
> On Wednesday, August 24, 2016 11:01:17 AM CEST Daniel Vetter wrote:
>> On Wed, Aug 24, 2016 at 10:27 AM, Arnd Bergmann <arnd@...db.de> wrote:
>> > A cleanup in v4.8 dropped several dependencies, but caused the udl driver
>> > to fail building when CONFIG_FB_DEFERRED_IO is not set:
>> >
>> > drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_open':
>> > drivers/gpu/drm/udl/udl_fb.c:206:23: error: 'struct fb_info' has no member named 'fbdefio'
>> >   if (fb_defio && (info->fbdefio == NULL)) {
>> >                        ^~
>> >
>> > This adds an #ifdef check around the code that fails. We know this
>> > is safe because it always checks info->fbdefio for being non-NULL,
>> > and that member is not defined here.
>> >
>> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
>> > Fixes: c0f0c177b5a9 ("drm/udl: make fbdev support really optional")
>>
>> There's a pile more needed, which is why I just ended up stuffing them
>> all into linux-next for 4.9. Is your patch still needed on that? If we
>> really want this fixed in 4.8 I guess I can assemble a cherry-pick
>> list.
>
> Ok, got it. I think your 0c756134cf76 ("drm: Protect fb_defio in
> drivers with CONFIG_KMS_FBDEV_EMULATION") is actually sufficient
> for the build break, it's almost the same as my patch anyway.

Dave, can you please cherry-pick that one from -next to -fixes?

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ