]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/fcoe/fcoe.c
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[~andy/linux] / drivers / scsi / fcoe / fcoe.c
index 32ae6c67ea3ae39980e58c7d8d0059af1bf4640c..4a05d0427a9cac879015684b51b1c803286ca4bb 100644 (file)
@@ -1978,7 +1978,7 @@ static int fcoe_device_notification(struct notifier_block *notifier,
 {
        struct fcoe_ctlr_device *cdev;
        struct fc_lport *lport = NULL;
-       struct net_device *netdev = ptr;
+       struct net_device *netdev = netdev_notifier_info_to_dev(ptr);
        struct fcoe_ctlr *ctlr;
        struct fcoe_interface *fcoe;
        struct fcoe_port *port;