Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22449
b: refs/heads/master
c: b50ec7d
h: refs/heads/master
i:
  22447: 320bde9
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 22, 2006
1 parent 84ff02f commit c44664e
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: a482289d46587ffcda4c85aab109fb74910d7a48
refs/heads/master: b50ec7d8070ae7a39fe78e65a8812bbc3ca2f7ac
2 changes: 1 addition & 1 deletion trunk/include/linux/slab.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ extern void *kzalloc(size_t, gfp_t);
*/
static inline void *kcalloc(size_t n, size_t size, gfp_t flags)
{
if (n != 0 && size > INT_MAX / n)
if (n != 0 && size > ULONG_MAX / n)
return NULL;
return kzalloc(n * size, flags);
}
Expand Down

0 comments on commit c44664e

Please sign in to comment.