From: Roland Dreier <roland@kernel.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Add EWOODBLOCK
Date: Sun, 1 Apr 2012 09:38:00 -0700 [thread overview]
Message-ID: <1333298280-4968-1-git-send-email-roland@kernel.org> (raw)
From: Roland Dreier <roland@purestorage.com>
We have found that in RT Linux applications around control of sawmills
and other lumber handling equipment, there is no good way for the
kernel to report jams or other blockages, and so we ended up adding a
new error code.
We were quite happy to carry this as an out-of-tree patch until we
heard that a group doing functional MRI of politicians' brains had
independently started using EWOODBLOCK. To enable other innovative
uses of this fundamental advancement in kernel infrastructure, we are
proposing this patch for upstream merge.
Signed-off-by: Roland Dreier <roland@purestorage.com>
---
include/asm-generic/errno.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h
index a1331ce..9a337b8 100644
--- a/include/asm-generic/errno.h
+++ b/include/asm-generic/errno.h
@@ -110,4 +110,6 @@
#define EHWPOISON 133 /* Memory page has hardware error */
+#define EWOODBLOCK 134 /* logjam */
+
#endif
--
1.7.9.1
reply other threads:[~2012-04-01 16:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1333298280-4968-1-git-send-email-roland@kernel.org \
--to=roland@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome