From: Steve M. <ste...@li...> - 2012-10-24 13:50:15
|
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 <ste...@li...> >> --- >> 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 <ste...@li...> --- linux/errnoent.h | 4 ++-- 1 file changed, 2 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 */ -- 1.7.10.4 Cheers, -- Steve McIntyre ste...@li... <http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs |