diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-12-18 00:19:51 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-18 03:28:15 (GMT) |
commit | 60af880339aae440293a0c8e93178fdcb41f8a29 (patch) | |
tree | 5f61602d96d3e9b1bcd1146a8192598b7824360a /include/asm-powerpc/unaligned.h | |
parent | 8d431dbef4e63d54f1965c3ed6ca5f91ee4512de (diff) | |
download | linux-60af880339aae440293a0c8e93178fdcb41f8a29.tar.xz |
parport: "dev->timeslice" is an unsigned long, not an int
While auditing proc_doulongvec_ms_jiffies_minmax() usage in kernel, I found
a bug in drivers/parport/procfs.c, incorrectly using sizeof(int) instead of
sizeof(unsigned long)
Only 64bit arches are affected by this old bug.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc/unaligned.h')
0 files changed, 0 insertions, 0 deletions