Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61765
b: refs/heads/master
c: a5c96d8
h: refs/heads/master
i:
  61763: f7626de
v: v3
  • Loading branch information
Linus Torvalds committed Jul 19, 2007
1 parent 35b5d2b commit 2b5ca58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce8c2293be47999584908069e78bf6d94beadc53
refs/heads/master: a5c96d8a1c67f31ef48935a78da2d2076513842b
4 changes: 2 additions & 2 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -3690,8 +3690,8 @@ static __always_inline void *__do_kmalloc(size_t size, gfp_t flags,
* functions.
*/
cachep = __find_general_cachep(size, flags);
if (unlikely(cachep == NULL))
return NULL;
if (unlikely(ZERO_OR_NULL_PTR(cachep)))
return cachep;
return __cache_alloc(cachep, flags, caller);
}

Expand Down

0 comments on commit 2b5ca58

Please sign in to comment.