]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:29:58 +0000 (08:29 +0200)
commitb021a05497ced6dac327afe3245d4002245767bf
treeca3e814426bb842aa8647558b8f581debe2e7039
parent7b01567ac9af394c0640856701623270a7019d76
parisc: Fix order of EREFUSED define in errno.h

commit 3eb53b20d7bd1374598cfb1feaa081fcac0e76cd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/uapi/asm/errno.h