]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/phonet/pn_dev.c
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[karo-tx-linux.git] / net / phonet / pn_dev.c
index bf5cf69c820a285be318ecb3dab044530f2c8bc2..36f75a9e2c3d1fd248d1102a268351aa05a2c19b 100644 (file)
@@ -44,7 +44,7 @@ struct phonet_net {
        struct phonet_routes routes;
 };
 
-int phonet_net_id __read_mostly;
+static int phonet_net_id __read_mostly;
 
 static struct phonet_net *phonet_pernet(struct net *net)
 {
@@ -268,7 +268,7 @@ static int phonet_device_autoconf(struct net_device *dev)
 static void phonet_route_autodel(struct net_device *dev)
 {
        struct phonet_net *pnn = phonet_pernet(dev_net(dev));
-       unsigned i;
+       unsigned int i;
        DECLARE_BITMAP(deleted, 64);
 
        /* Remove left-over Phonet routes */