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>
This commit is contained in:
@@ -154,8 +154,8 @@ struct cosa_data {
|
||||
int nchannels; /* # of channels on this card */
|
||||
int driver_status; /* For communicating with firmware */
|
||||
int firmware_status; /* Downloaded, reseted, etc. */
|
||||
long int rxbitmap, txbitmap; /* Bitmap of channels who are willing to send/receive data */
|
||||
long int rxtx; /* RX or TX in progress? */
|
||||
unsigned long rxbitmap, txbitmap;/* Bitmap of channels who are willing to send/receive data */
|
||||
unsigned long rxtx; /* RX or TX in progress? */
|
||||
int enabled;
|
||||
int usage; /* usage count */
|
||||
int txchan, txsize, rxsize;
|
||||
|
Reference in New Issue
Block a user