Re: [PATCH v3] err.h: allow IS_ERR_VALUE to handle properly more types

From: Arnd Bergmann
Date: Thu Feb 04 2016 - 10:10:49 EST


On Thursday 04 February 2016 16:00:09 Arnd Bergmann wrote:
> With the IS_ERR_VALUE() macro I sent, I don't see the warning on any gcc
> version. I have now also checked that the behavior on x86 gcc-.4.9 is the
> same that I see on ARM (I don't have a large collection of x86 gcc versions
> though): same warning with linux-next, no warning with my version or after
> reverting your patch.
>

Sorry, scratch that: I don't get this warning at all on x86 with gcc-4.9,
with any version of err.h.

Arnd