diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-05-06 20:42:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-08 10:46:55 -0700 |
commit | 9a0f4aea878315ba87cb8a4d0dddc67832218e3f (patch) | |
tree | 954e3e1b8e02909f4906dd3a0edc46cf619f7cac /drivers/rtc/rtc-ds1374.c | |
parent | a8b1ecf3d5c48ebde9fed61c7a682b2270e09d2b (diff) |
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>
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
0 files changed, 0 insertions, 0 deletions