projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: pass info struct via netdevice notifier
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
fcoe
/
fcoe.c
diff --git
a/drivers/scsi/fcoe/fcoe.c
b/drivers/scsi/fcoe/fcoe.c
index 292b24f9bf935f119ab12dbbca96d5a00d16783d..ee721b6cbcdf891c4d08250e68ccfb9e82c6ceb2 100644
(file)
--- a/
drivers/scsi/fcoe/fcoe.c
+++ b/
drivers/scsi/fcoe/fcoe.c
@@
-1975,7
+1975,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;