]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/llc/llc_station.c
net/llc: storing negative error codes in unsigned short
[net-next-2.6.git] / net / llc / llc_station.c
index e4dae0244d76b677ee89ef0b35dd51ccf7807e06..cf4aea3ba30f3c822be7a2c19a8fef87cdb8aadf 100644 (file)
@@ -689,7 +689,7 @@ static void llc_station_rcv(struct sk_buff *skb)
 
 int __init llc_station_init(void)
 {
-       u16 rc = -ENOBUFS;
+       int rc = -ENOBUFS;
        struct sk_buff *skb;
        struct llc_station_state_ev *ev;