Skip to content

Commit

Permalink
drivers/net/hamradio: fix sparse warnings: fix signedness
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 9b329f1 commit 886a63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/hdlcdrv.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ struct hdlcdrv_state {

struct hdlcdrv_hdlctx {
struct hdlcdrv_hdlcbuffer hbuf;
long in_hdlc_tx;
unsigned long in_hdlc_tx;
/*
* 0 = send flags
* 1 = send txtail (flags)
Expand Down

0 comments on commit 886a63e

Please sign in to comment.