diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:36:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:37:40 -0500 |
commit | 886a63e865eb346ab20572e802fc3118cb9aee14 (patch) | |
tree | 6a0e5c02c613f437e4d83f8286b1f78abbfc95c9 | |
parent | 9b329f18b943fb5648c10f79690918b9056dd5c5 (diff) |
drivers/net/hamradio: fix sparse warnings: fix signedness
Fix this sparse warnings:
drivers/net/hamradio/hdlcdrv.c:274:34: warning: incorrect type in argument 2 (different signedness)
drivers/net/hamradio/hdlcdrv.c:279:47: warning: incorrect type in argument 2 (different signedness)
drivers/net/hamradio/hdlcdrv.c:288:39: warning: incorrect type in argument 2 (different signedness)
drivers/net/hamradio/hdlcdrv.c:300:47: warning: incorrect type in argument 2 (different signedness)
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/hdlcdrv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hdlcdrv.h b/include/linux/hdlcdrv.h index 0821bac62b83..c010b4a785b8 100644 --- a/include/linux/hdlcdrv.h +++ b/include/linux/hdlcdrv.h | |||
@@ -215,7 +215,7 @@ struct hdlcdrv_state { | |||
215 | 215 | ||
216 | struct hdlcdrv_hdlctx { | 216 | struct hdlcdrv_hdlctx { |
217 | struct hdlcdrv_hdlcbuffer hbuf; | 217 | struct hdlcdrv_hdlcbuffer hbuf; |
218 | long in_hdlc_tx; | 218 | unsigned long in_hdlc_tx; |
219 | /* | 219 | /* |
220 | * 0 = send flags | 220 | * 0 = send flags |
221 | * 1 = send txtail (flags) | 221 | * 1 = send txtail (flags) |