diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2018-03-23 15:50:01 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2018-03-23 15:50:01 +0000 |
| commit | 8363051739fb8cc688255328a3d641dc9fe4718c (patch) | |
| tree | b75bd0cd55aa16feb03c16e5e5545faa7a021896 /sys/compat/linuxkpi/common/include/linux/err.h | |
| parent | 68478431e006e2db94089ab0c1f411f7a75ef724 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/err.h')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/err.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/err.h b/sys/compat/linuxkpi/common/include/linux/err.h index a9769329d3ac..a0eb74c2e37d 100644 --- a/sys/compat/linuxkpi/common/include/linux/err.h +++ b/sys/compat/linuxkpi/common/include/linux/err.h @@ -70,10 +70,10 @@ ERR_CAST(void *ptr) static inline int PTR_ERR_OR_ZERO(const void *ptr) { - if (IS_ERR(ptr)) - return PTR_ERR(ptr); - else - return 0; + if (IS_ERR(ptr)) + return PTR_ERR(ptr); + else + return 0; } #define PTR_RET(p) PTR_ERR_OR_ZERO(p) |
