mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-17 22:23:45 -04:00
parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
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
This commit is contained in:
@@ -111,9 +111,6 @@ static const char *names_0[] = {
|
||||
E(ENOSPC),
|
||||
E(ENOSR),
|
||||
E(ENOSTR),
|
||||
#ifdef ENOSYM
|
||||
E(ENOSYM),
|
||||
#endif
|
||||
E(ENOSYS),
|
||||
E(ENOTBLK),
|
||||
E(ENOTCONN),
|
||||
@@ -144,9 +141,6 @@ static const char *names_0[] = {
|
||||
#endif
|
||||
E(EREMOTE),
|
||||
E(EREMOTEIO),
|
||||
#ifdef EREMOTERELEASE
|
||||
E(EREMOTERELEASE),
|
||||
#endif
|
||||
E(ERESTART),
|
||||
E(ERFKILL),
|
||||
E(EROFS),
|
||||
|
||||
Reference in New Issue
Block a user