Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105345
b: refs/heads/master
c: 9ca908f
h: refs/heads/master
i:
  105343: 11d0fd9
v: v3
  • Loading branch information
Milton Miller authored and Linus Torvalds committed Jul 24, 2008
1 parent c0ee378 commit c19fbb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5c755e9fd813810680abd56ec09a5f90143e815b
refs/heads/master: 9ca908f47bc784c90e17a553ce33e756c73feac4
2 changes: 1 addition & 1 deletion trunk/include/linux/slab.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c19fbb6

Please sign in to comment.