]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fix irq flags in rtc-ds1511
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 7 May 2008 03:42:30 +0000 (20:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 May 2008 17:46:55 +0000 (10:46 -0700)
commit9a0f4aea878315ba87cb8a4d0dddc67832218e3f
tree954e3e1b8e02909f4906dd3a0edc46cf619f7cac
parenta8b1ecf3d5c48ebde9fed61c7a682b2270e09d2b
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 <srostedt@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1511.c