[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+55aFw_SZ7nydXMQKcaQJmYy1=pCg7S6mUgHJGyfGvNoRgoRg@mail.gmail.com>
Date: Fri, 27 May 2016 16:24:47 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrzej Hajda <a.hajda@...sung.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
David Airlie <airlied@...ux.ie>,
Robin Murphy <robin.murphy@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Adrian Hunter <adrian.hunter@...el.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Russell King <linux@...linux.org.uk>,
Bob Peterson <rpeterso@...hat.com>,
Linux ACPI <linux-acpi@...r.kernel.org>,
"open list:AMD IOMMU (AMD-VI)" <iommu@...ts.linux-foundation.org>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Linux Wireless List <linux-wireless@...r.kernel.org>,
V9FS Developers <v9fs-developer@...ts.sourceforge.net>
Subject: Re: [PATCH] remove lots of IS_ERR_VALUE abuses
On Fri, May 27, 2016 at 2:23 PM, Arnd Bergmann <arnd@...db.de> wrote:
>
> This patch changes all users of IS_ERR_VALUE() that I could find
> on 32-bit ARM randconfig builds and x86 allmodconfig. For the
> moment, this doesn't change the definition of IS_ERR_VALUE()
> because there are probably still architecture specific users
> elsewhere.
Patch applied with the fixups from Al Viro edited in.
I also ended up removing a few other users (due to the vm_brk()
interface), and then made IS_ERR_VALUE() do the "void *" cast so that
integer use of a non-pointer size should now complain.
It works for me and has no new warnings in my allmodconfig build, and
with your ARM work that is presumably clean too. But other
architectures may see new warnings.
People who got affected by this should check their subsystem code for
the changes.
Linus
Powered by blists - more mailing lists