[PATCH v3] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Apr 19 14:00:07 AEST 2021
On Thu, 17 Sep 2020 06:54:37 -0700, Tony Ambardar wrote:
> A few archs like powerpc have different errno.h values for macros
> EDEADLOCK and EDEADLK. In code including both libc and linux versions of
> errno.h, this can result in multiple definitions of EDEADLOCK in the
> include chain. Definitions to the same value (e.g. seen with mips) do
> not raise warnings, but on powerpc there are redefinitions changing the
> value, which raise warnings and errors (if using "-Werror").
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
https://git.kernel.org/powerpc/c/7de21e679e6a789f3729e8402bc440b623a28eae
cheers
More information about the Linuxppc-dev
mailing list