parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
authorHelge Deller <deller@gmx.de>
Thu, 23 Nov 2023 19:28:27 +0000 (20:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:51:15 +0000 (08:51 +0100)
commit3793cd2ded7cd33a431a6764f1d13be30ac15d52
tree96555a684b70544267aea84565017ebeafc59947
parent79a1fdf4c21200afd66d319792a3b3023ab071ff
parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes

commit e5f3e299a2b1e9c3ece24a38adfc089aef307e8a upstream.

Those return codes are only defined for the parisc architecture and
are leftovers from when we wanted to be HP-UX compatible.

They are not returned by any Linux kernel syscall but do trigger
problems with the glibc strerrorname_np() and strerror() functions as
reported in glibc issue #31080.

There is no need to keep them, so simply remove them.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Bruno Haible <bruno@clisp.org>
Closes: https://sourceware.org/bugzilla/show_bug.cgi?id=31080
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/uapi/asm/errno.h
lib/errname.c
tools/arch/parisc/include/uapi/asm/errno.h