Sign in
gfiber
/
vendor
/
opensource
/
backports
/
e4a9605884219dd38e8f44efd5117b547067d073
/
.
/
backport-include
/
linux
/
err.h
blob: 62ee1e8f2c4f400cf8521c054dcb7af81be050c6 [
file
] [
log
] [
blame
]
#ifndef
__BACKPORT_LINUX_ERR_H
#define
__BACKPORT_LINUX_ERR_H
#include_next <linux/err.h>
#include
<linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
#define
PTR_ERR_OR_ZERO
(
p
)
PTR_RET
(
p
)
#endif
#endif
/* __BACKPORT_LINUX_ERR_H */