From 64b33619a30ff18c1535ee779572ecffcc4711d2 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 19:35:20 +0100 Subject: long vs. unsigned long - low-hanging fruits in drivers deal with signedness of the stuff passed to set_bit() et.al. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/char/sx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/char/sx.h') diff --git a/drivers/char/sx.h b/drivers/char/sx.h index 432aad0a2dd..70d9783c732 100644 --- a/drivers/char/sx.h +++ b/drivers/char/sx.h @@ -27,7 +27,7 @@ struct sx_port { int c_dcd; struct sx_board *board; int line; - long locks; + unsigned long locks; }; struct sx_board { @@ -45,7 +45,7 @@ struct sx_board { int poll; int ta_type; struct timer_list timer; - long locks; + unsigned long locks; }; struct vpd_prom { -- cgit v1.2.3