Tag: 14bd5b458bf62f84b2639ae288fd83d1da7a9af6

mm/mmap.c: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

Author: Duan Jiong <duanj.fnst@cn.fujitsu.com> Fix a coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong Acked-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — mm/mmap.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-)   diff –git a/mm/mmap.c b/mm/mmap.c index b1202cf..6cdec3a 100644 — a/mm/mmap.c +++ b/mm/mmap.c @@ …

Continue reading