mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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:
@@ -200,7 +200,7 @@ struct hdlcdrv_state {
|
||||
|
||||
struct hdlcdrv_hdlcrx {
|
||||
struct hdlcdrv_hdlcbuffer hbuf;
|
||||
long in_hdlc_rx;
|
||||
unsigned long in_hdlc_rx;
|
||||
/* 0 = sync hunt, != 0 receiving */
|
||||
int rx_state;
|
||||
unsigned int bitstream;
|
||||
|
||||
Reference in New Issue
Block a user