diff mbox

[1/2] Update errno and ioctl definitions for newer Linux

Message ID 20121024134907.GA5294@einval.com
State New
Headers show

Commit Message

Steve McIntyre Oct. 24, 2012, 1:49 p.m. UTC
On Wed, Oct 24, 2012 at 03:58:46AM +0400, Dmitry V. Levin wrote:
>On Tue, Oct 23, 2012 at 05:36:58PM +0100, Steve McIntyre wrote:
>> Update errno and ioctl definitions for newer Linux
>> 
>> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
>> ---
>>  linux/errnoent.h    |    4 +-
>>  linux/ioctlent.h.in |  121 +++++++++++++++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 123 insertions(+), 2 deletions(-)
>> 
>> diff --git a/linux/errnoent.h b/linux/errnoent.h
>> index e43bff5..c2ac683 100644
>> --- a/linux/errnoent.h
>> +++ b/linux/errnoent.h
>> @@ -519,8 +519,8 @@
>>  	"ERESTARTNOHAND", /* 514 */
>>  	"ENOIOCTLCMD", /* 515 */
>>  	"ERESTART_RESTARTBLOCK", /* 516 */
>> -	"ERRNO_517", /* 517 */
>> -	"ERRNO_518", /* 518 */
>> +	"EPROBE_DEFER", /* 517 */
>> +	"EOPENSTALE", /* 518 */
>>  	"ERRNO_519", /* 519 */
>>  	"ERRNO_520", /* 520 */
>>  	"EBADHANDLE", /* 521 */
>
>This one is obvious.  Please add a ChangeLog-style entry (see
>README-hacking file for details) for this errnoent.h patch.

ACK. Here's an update for that.

linux: add new errno values for EPROBE_DEFER and EOPENSTALE

* linux/errnoent.h: Change ERRNO_517 to EPROBE_DEFER.
* linux/errnoent.h: Change ERRNO_518 to EOPENSTALE.

New definitions match updates in Linux 3.4 and Linux 3.5 respectively.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
---
 linux/errnoent.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Dmitry V. Levin Oct. 27, 2012, 3:41 p.m. UTC | #1
On Wed, Oct 24, 2012 at 02:49:20PM +0100, Steve McIntyre wrote:
> On Wed, Oct 24, 2012 at 03:58:46AM +0400, Dmitry V. Levin wrote:
> >On Tue, Oct 23, 2012 at 05:36:58PM +0100, Steve McIntyre wrote:
> >> Update errno and ioctl definitions for newer Linux
> >> 
> >> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
> >> ---
> >>  linux/errnoent.h    |    4 +-
> >>  linux/ioctlent.h.in |  121 +++++++++++++++++++++++++++++++++++++++++++++++++++
> >>  2 files changed, 123 insertions(+), 2 deletions(-)
> >> 
> >> diff --git a/linux/errnoent.h b/linux/errnoent.h
> >> index e43bff5..c2ac683 100644
> >> --- a/linux/errnoent.h
> >> +++ b/linux/errnoent.h
> >> @@ -519,8 +519,8 @@
> >>  	"ERESTARTNOHAND", /* 514 */
> >>  	"ENOIOCTLCMD", /* 515 */
> >>  	"ERESTART_RESTARTBLOCK", /* 516 */
> >> -	"ERRNO_517", /* 517 */
> >> -	"ERRNO_518", /* 518 */
> >> +	"EPROBE_DEFER", /* 517 */
> >> +	"EOPENSTALE", /* 518 */
> >>  	"ERRNO_519", /* 519 */
> >>  	"ERRNO_520", /* 520 */
> >>  	"EBADHANDLE", /* 521 */
> >
> >This one is obvious.  Please add a ChangeLog-style entry (see
> >README-hacking file for details) for this errnoent.h patch.
> 
> ACK. Here's an update for that.

Applied, thanks.
diff mbox

Patch

diff --git a/linux/errnoent.h b/linux/errnoent.h
index e43bff5..c2ac683 100644
--- a/linux/errnoent.h
+++ b/linux/errnoent.h
@@ -519,8 +519,8 @@ 
 	"ERESTARTNOHAND", /* 514 */
 	"ENOIOCTLCMD", /* 515 */
 	"ERESTART_RESTARTBLOCK", /* 516 */
-	"ERRNO_517", /* 517 */
-	"ERRNO_518", /* 518 */
+	"EPROBE_DEFER", /* 517 */
+	"EOPENSTALE", /* 518 */
 	"ERRNO_519", /* 519 */
 	"ERRNO_520", /* 520 */
 	"EBADHANDLE", /* 521 */