projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ELF loader support for auxvec base platform string
[deliverable/linux.git]
/
include
/
linux
/
slab.h
diff --git
a/include/linux/slab.h
b/include/linux/slab.h
index 9aa90a6f20e02e920e883f17e7393aa0e0046400..41103910f8a2c6ece5495477a65496a5d277db6a 100644
(file)
--- a/
include/linux/slab.h
+++ b/
include/linux/slab.h
@@
-180,7
+180,7
@@
size_t ksize(const void *);
*/
static inline void *kcalloc(size_t n, size_t size, gfp_t flags)
{
- if (
n != 0 && size > ULONG_MAX / n
)
+ if (
size != 0 && n > ULONG_MAX / size
)
return NULL;
return __kmalloc(n * size, flags | __GFP_ZERO);
}
This page took
0.047417 seconds
and
5
git commands to generate.