diff options
Diffstat (limited to 'drivers/scsi/pmcraid.c')
| -rw-r--r-- | drivers/scsi/pmcraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index 1eb7b0280a45..bd6f743d87a7 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
| @@ -1512,7 +1512,8 @@ static int pmcraid_notify_aen( | |||
| 1512 | } | 1512 | } |
| 1513 | 1513 | ||
| 1514 | result = | 1514 | result = |
| 1515 | genlmsg_multicast(skb, 0, pmcraid_event_family.id, GFP_ATOMIC); | 1515 | genlmsg_multicast(&pmcraid_event_family, skb, 0, |
| 1516 | pmcraid_event_family.id, GFP_ATOMIC); | ||
| 1516 | 1517 | ||
| 1517 | /* If there are no listeners, genlmsg_multicast may return non-zero | 1518 | /* If there are no listeners, genlmsg_multicast may return non-zero |
| 1518 | * value. | 1519 | * value. |
| @@ -6049,7 +6050,6 @@ out_release_regions: | |||
| 6049 | 6050 | ||
| 6050 | out_disable_device: | 6051 | out_disable_device: |
| 6051 | atomic_dec(&pmcraid_adapter_count); | 6052 | atomic_dec(&pmcraid_adapter_count); |
| 6052 | pci_set_drvdata(pdev, NULL); | ||
| 6053 | pci_disable_device(pdev); | 6053 | pci_disable_device(pdev); |
| 6054 | return -ENODEV; | 6054 | return -ENODEV; |
| 6055 | } | 6055 | } |
