commit | dfffa587a6bcd84f2087f88e11600b0e8b0aa1ee | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Fri Jan 15 16:58:10 2016 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jan 16 11:17:24 2016 -0800 |
tree | 3c0eeb56c14545895b1562786c0739edf688aa9a | |
parent | da48d094ce5d7c7dcdad9011648a81c42fd1c2ef [diff] |
err.h: add (missing) unlikely() to IS_ERR_OR_NULL() IS_ERR_VALUE() already contains it and so we need to add this only to the !ptr check. That will allow users of IS_ERR_OR_NULL(), to not add this compiler flag. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>