Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2022 15:10:13 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 368174cdc594 - stable/13 - linuxkpi: errno: Add EHWPOISON
Message-ID:  <202209071510.287FADok021847@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

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

commit 368174cdc59496e3c95dbe1707036bf045679e12
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-27 07:50:25 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:04 +0000

    linuxkpi: errno: Add EHWPOISON
    
    Needed by drm-kmod.
    
    Reviewed by:    bz, hselasky
    Obtained from:  drm-kmod
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D36017
    
    (cherry picked from commit 2d4b17685fd2891ffc28590a408df4b96d218b05)
---
 sys/compat/linuxkpi/common/include/linux/errno.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h
index f9c0ceeac5e2..72d8af6779a5 100644
--- a/sys/compat/linuxkpi/common/include/linux/errno.h
+++ b/sys/compat/linuxkpi/common/include/linux/errno.h
@@ -44,6 +44,7 @@
 #define	ERESTARTSYS     512
 #define	ENOTSUPP	EOPNOTSUPP
 #define	ENONET		EHOSTDOWN
+#define	EHWPOISON	133	/* Memory page hardware error */
 
 /*
  * The error numbers below are arbitrary and do not resemble the numbers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209071510.287FADok021847>