git: 8f33ad3cf536 - main - LinuxKPI: add more errno
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 00:16:39 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=8f33ad3cf5361c700e2b133915685983003de67c
commit 8f33ad3cf5361c700e2b133915685983003de67c
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-02-09 11:48:37 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-02-14 00:15:41 +0000
LinuxKPI: add more errno
Add ENOMEDIUM, ENOSR, and ELNRNG to linux/errno.h needed by drivers.
MFC after: 3 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34227
---
sys/compat/linuxkpi/common/include/linux/errno.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h
index 18019e9bed8d..f9c0ceeac5e2 100644
--- a/sys/compat/linuxkpi/common/include/linux/errno.h
+++ b/sys/compat/linuxkpi/common/include/linux/errno.h
@@ -64,5 +64,8 @@
#define EIOCBQUEUED 529
#define ERFKILL 530
#define EBADE 531
+#define ENOMEDIUM 532
+#define ENOSR 533
+#define ELNRNG 534
#endif /* _LINUXKPI_LINUX_ERRNO_H_ */