projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[cascardo/linux.git]
/
include
/
linux
/
err.h
diff --git
a/include/linux/err.h
b/include/linux/err.h
index
a729120
..
56762ab
100644
(file)
--- a/
include/linux/err.h
+++ b/
include/linux/err.h
@@
-37,7
+37,7
@@
static inline bool __must_check IS_ERR(__force const void *ptr)
static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr)
{
- return
!ptr
|| IS_ERR_VALUE((unsigned long)ptr);
+ return
unlikely(!ptr)
|| IS_ERR_VALUE((unsigned long)ptr);
}
/**