* [PATCH next] errno.h: define ERFKILL
@ 2009-06-05 10:06 Alexander Beregalov
2009-06-05 11:30 ` Johannes Berg
2009-06-05 12:17 ` Ralf Baechle
0 siblings, 2 replies; 4+ messages in thread
From: Alexander Beregalov @ 2009-06-05 10:06 UTC (permalink / raw)
To: johannes, linville, linux-next
Cc: davem, ralf, kyle, rth, ink, Alexander Beregalov
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>
---
arch/alpha/include/asm/errno.h | 2 ++
arch/mips/include/asm/errno.h | 2 ++
arch/parisc/include/asm/errno.h | 1 +
arch/sparc/include/asm/errno.h | 2 ++
4 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/alpha/include/asm/errno.h b/arch/alpha/include/asm/errno.h
index 69e2655..98099bd 100644
--- a/arch/alpha/include/asm/errno.h
+++ b/arch/alpha/include/asm/errno.h
@@ -120,4 +120,6 @@
#define EOWNERDEAD 136 /* Owner died */
#define ENOTRECOVERABLE 137 /* State not recoverable */
+#define ERFKILL 138 /* Operation not possible due to RF-kill */
+
#endif
diff --git a/arch/mips/include/asm/errno.h b/arch/mips/include/asm/errno.h
index 3c0d840..a0efc73 100644
--- a/arch/mips/include/asm/errno.h
+++ b/arch/mips/include/asm/errno.h
@@ -119,6 +119,8 @@
#define EOWNERDEAD 165 /* Owner died */
#define ENOTRECOVERABLE 166 /* State not recoverable */
+#define ERFKILL 167 /* Operation not possible due to RF-kill */
+
#define EDQUOT 1133 /* Quota exceeded */
#ifdef __KERNEL__
diff --git a/arch/parisc/include/asm/errno.h b/arch/parisc/include/asm/errno.h
index e2f3ddc..9992abd 100644
--- a/arch/parisc/include/asm/errno.h
+++ b/arch/parisc/include/asm/errno.h
@@ -120,5 +120,6 @@
#define EOWNERDEAD 254 /* Owner died */
#define ENOTRECOVERABLE 255 /* State not recoverable */
+#define ERFKILL 256 /* Operation not possible due to RF-kill */
#endif
diff --git a/arch/sparc/include/asm/errno.h b/arch/sparc/include/asm/errno.h
index a9ef172..4e2bc49 100644
--- a/arch/sparc/include/asm/errno.h
+++ b/arch/sparc/include/asm/errno.h
@@ -110,4 +110,6 @@
#define EOWNERDEAD 132 /* Owner died */
#define ENOTRECOVERABLE 133 /* State not recoverable */
+#define ERFKILL 134 /* Operation not possible due to RF-kill */
+
#endif
--
1.6.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH next] errno.h: define ERFKILL
2009-06-05 10:06 [PATCH next] errno.h: define ERFKILL Alexander Beregalov
@ 2009-06-05 11:30 ` Johannes Berg
2009-06-07 1:47 ` Kyle McMartin
2009-06-05 12:17 ` Ralf Baechle
1 sibling, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2009-06-05 11:30 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: linville, linux-next, davem, ralf, kyle, rth, ink
[-- Attachment #1: Type: text/plain, Size: 2376 bytes --]
On Fri, 2009-06-05 at 14:06 +0400, Alexander Beregalov wrote:
> 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.
Oh, I wasn't aware of that, thanks.
johannes
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
> arch/alpha/include/asm/errno.h | 2 ++
> arch/mips/include/asm/errno.h | 2 ++
> arch/parisc/include/asm/errno.h | 1 +
> arch/sparc/include/asm/errno.h | 2 ++
> 4 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/arch/alpha/include/asm/errno.h b/arch/alpha/include/asm/errno.h
> index 69e2655..98099bd 100644
> --- a/arch/alpha/include/asm/errno.h
> +++ b/arch/alpha/include/asm/errno.h
> @@ -120,4 +120,6 @@
> #define EOWNERDEAD 136 /* Owner died */
> #define ENOTRECOVERABLE 137 /* State not recoverable */
>
> +#define ERFKILL 138 /* Operation not possible due to RF-kill */
> +
> #endif
> diff --git a/arch/mips/include/asm/errno.h b/arch/mips/include/asm/errno.h
> index 3c0d840..a0efc73 100644
> --- a/arch/mips/include/asm/errno.h
> +++ b/arch/mips/include/asm/errno.h
> @@ -119,6 +119,8 @@
> #define EOWNERDEAD 165 /* Owner died */
> #define ENOTRECOVERABLE 166 /* State not recoverable */
>
> +#define ERFKILL 167 /* Operation not possible due to RF-kill */
> +
> #define EDQUOT 1133 /* Quota exceeded */
>
> #ifdef __KERNEL__
> diff --git a/arch/parisc/include/asm/errno.h b/arch/parisc/include/asm/errno.h
> index e2f3ddc..9992abd 100644
> --- a/arch/parisc/include/asm/errno.h
> +++ b/arch/parisc/include/asm/errno.h
> @@ -120,5 +120,6 @@
> #define EOWNERDEAD 254 /* Owner died */
> #define ENOTRECOVERABLE 255 /* State not recoverable */
>
> +#define ERFKILL 256 /* Operation not possible due to RF-kill */
>
> #endif
> diff --git a/arch/sparc/include/asm/errno.h b/arch/sparc/include/asm/errno.h
> index a9ef172..4e2bc49 100644
> --- a/arch/sparc/include/asm/errno.h
> +++ b/arch/sparc/include/asm/errno.h
> @@ -110,4 +110,6 @@
> #define EOWNERDEAD 132 /* Owner died */
> #define ENOTRECOVERABLE 133 /* State not recoverable */
>
> +#define ERFKILL 134 /* Operation not possible due to RF-kill */
> +
> #endif
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH next] errno.h: define ERFKILL
2009-06-05 10:06 [PATCH next] errno.h: define ERFKILL Alexander Beregalov
2009-06-05 11:30 ` Johannes Berg
@ 2009-06-05 12:17 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2009-06-05 12:17 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: johannes, linville, linux-next, davem, kyle, rth, ink
On Fri, Jun 05, 2009 at 02:06:48PM +0400, Alexander Beregalov wrote:
> 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>
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH next] errno.h: define ERFKILL
2009-06-05 11:30 ` Johannes Berg
@ 2009-06-07 1:47 ` Kyle McMartin
0 siblings, 0 replies; 4+ messages in thread
From: Kyle McMartin @ 2009-06-07 1:47 UTC (permalink / raw)
To: Johannes Berg
Cc: Alexander Beregalov, linville, linux-next, davem, ralf, kyle, rth, ink
On Fri, Jun 05, 2009 at 01:30:24PM +0200, Johannes Berg wrote:
> On Fri, 2009-06-05 at 14:06 +0400, Alexander Beregalov wrote:
> > 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.
>
> Oh, I wasn't aware of that, thanks.
>
> johannes
>
> > Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cool with me.
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-07 1:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05 10:06 [PATCH next] errno.h: define ERFKILL Alexander Beregalov
2009-06-05 11:30 ` Johannes Berg
2009-06-07 1:47 ` Kyle McMartin
2009-06-05 12:17 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).