Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cfg80211: errno.h: define ERFKILL

Commit 1f87f7d3 (cfg80211: add rfkill support) added ERFKILL
to asm-generic/errno.h, but alpha, mips, parisc and sparc use
their own numbering scheme and do not include asm-generic/errno.h.
We need to add definition of ERFKILL for them.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Alexander Beregalov and committed by
David S. Miller
7d217d7f b1bc81a0

+7
+2
arch/alpha/include/asm/errno.h
··· 120 120 #define EOWNERDEAD 136 /* Owner died */ 121 121 #define ENOTRECOVERABLE 137 /* State not recoverable */ 122 122 123 + #define ERFKILL 138 /* Operation not possible due to RF-kill */ 124 + 123 125 #endif
+2
arch/mips/include/asm/errno.h
··· 119 119 #define EOWNERDEAD 165 /* Owner died */ 120 120 #define ENOTRECOVERABLE 166 /* State not recoverable */ 121 121 122 + #define ERFKILL 167 /* Operation not possible due to RF-kill */ 123 + 122 124 #define EDQUOT 1133 /* Quota exceeded */ 123 125 124 126 #ifdef __KERNEL__
+1
arch/parisc/include/asm/errno.h
··· 120 120 #define EOWNERDEAD 254 /* Owner died */ 121 121 #define ENOTRECOVERABLE 255 /* State not recoverable */ 122 122 123 + #define ERFKILL 256 /* Operation not possible due to RF-kill */ 123 124 124 125 #endif
+2
arch/sparc/include/asm/errno.h
··· 110 110 #define EOWNERDEAD 132 /* Owner died */ 111 111 #define ENOTRECOVERABLE 133 /* State not recoverable */ 112 112 113 + #define ERFKILL 134 /* Operation not possible due to RF-kill */ 114 + 113 115 #endif