From: Eric Dumazet Date: Tue, 18 Dec 2007 00:19:51 +0000 (-0800) Subject: parport: "dev->timeslice" is an unsigned long, not an int X-Git-Tag: v2.6.24-rc6~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60af880339aae440293a0c8e93178fdcb41f8a29;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed