]> Pileus Git - ~andy/linux/blobdiff - net/xfrm/xfrm_policy.c
pwm: tiehrpwm: add missing __iomem annotation
[~andy/linux] / net / xfrm / xfrm_policy.c
index ea970b8002a20a614a5bc9fe89afa3c39b131180..e52cab3591dd78c373274bb64420f87383775e8c 100644 (file)
@@ -2785,7 +2785,7 @@ static void __net_init xfrm_dst_ops_init(struct net *net)
 
 static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void *ptr)
 {
-       struct net_device *dev = ptr;
+       struct net_device *dev = netdev_notifier_info_to_dev(ptr);
 
        switch (event) {
        case NETDEV_DOWN: