]> git.baikalelectronics.ru Git - kernel.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)
commit4a6e319ce31a3d927fc3f8ea70bb701c6141cdc4
tree954e3e1b8e02909f4906dd3a0edc46cf619f7cac
parent21b16701aff66ea0aa0b0237bfb01d21de52445f
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