diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:51 -0400 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /drivers/net/ni65.c | |
parent | 0cc0844bc6d0bfca97fda48fa28d1f0a7cf878cb (diff) |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ni65.c')
-rw-r--r-- | drivers/net/ni65.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ni65.c b/drivers/net/ni65.c index 097685245112..3edc971d0eca 100644 --- a/drivers/net/ni65.c +++ b/drivers/net/ni65.c | |||
@@ -183,7 +183,7 @@ static struct card { | |||
183 | short addr_offset; | 183 | short addr_offset; |
184 | unsigned char *vendor_id; | 184 | unsigned char *vendor_id; |
185 | char *cardname; | 185 | char *cardname; |
186 | long config; | 186 | unsigned long config; |
187 | } cards[] = { | 187 | } cards[] = { |
188 | { | 188 | { |
189 | .id0 = NI65_ID0, | 189 | .id0 = NI65_ID0, |