From: Steven Rostedt Date: Wed, 7 May 2008 03:42:30 +0000 (-0700) Subject: fix irq flags in rtc-ds1511 X-Git-Tag: v2.6.26-rc2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0f4aea878315ba87cb8a4d0dddc67832218e3f;p=pandora-kernel.git fix irq flags in rtc-ds1511 The file in drivers/rtc/rtc-ds1551.c uses "int" for flags. This can cause hard to find bugs on some architectures. This patch converts the flags to use "long" instead. This bug was discovered by doing an allyesconfig make on the -rt kernel where checks are done to ensure all flags are of size sizeof(long). Signed-off-by: Steven Rostedt Cc: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed