]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
parisc: Fix order of EREFUSED define in errno.h
authorHelge Deller <deller@gmx.de>
Sat, 20 Aug 2016 09:51:38 +0000 (11:51 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 20 Aug 2016 11:33:53 +0000 (13:33 +0200)
commit3eb53b20d7bd1374598cfb1feaa081fcac0e76cd
tree881eeebc62388b68436bec72b02bf209d2a43a1d
parentae141830b118c3fb5b7eab6fa7c8ab7b7224b0a4
parisc: Fix order of EREFUSED define in errno.h

When building gccgo in userspace, errno.h gets parsed and the go include file
sysinfo.go is generated.

Since EREFUSED is defined to the same value as ECONNREFUSED, and ECONNREFUSED
is defined later on in errno.h, this leads to go complaining that EREFUSED
isn't defined yet.

Fix this trivial problem by moving the define of EREFUSED down after
ECONNREFUSED in errno.h (and clean up the indenting while touching this line).

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
arch/parisc/include/uapi/asm/errno.h