git: ced43caa3550 - stable/13 - LinuxKPI: add more errno

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 20 Feb 2022 18:15:30 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=ced43caa3550d937e51b1d29ba3b445f447704a9

commit ced43caa3550d937e51b1d29ba3b445f447704a9
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-20 16:23:16 +0000

    LinuxKPI: add more errno
    
    Add ENOMEDIUM, ENOSR, and ELNRNG to linux/errno.h needed by drivers.
    
    Reviewed by:    hselasky
    Differential Revision: https://reviews.freebsd.org/D34227
    
    (cherry picked from commit 8f33ad3cf5361c700e2b133915685983003de67c)
---
 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_ */