diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-20 13:45:52 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-20 13:45:52 -0500 |
commit | 1339730e73f14673ad55bddda119982504633da9 (patch) | |
tree | 56306454f0cf7152e60dac6030afe07ed667c574 /drivers/edac/i7300_edac.c | |
parent | 1c069100c1f5577ecde06b3a366b73f520854c4e (diff) | |
parent | 836dc9e3fbbab0c30aa6e664417225f5c1fb1c39 (diff) |
Merge tag 'v3.8-rc7' into next
Linux 3.8-rc7
* tag 'v3.8-rc7': (12052 commits)
Linux 3.8-rc7
net: sctp: sctp_endpoint_free: zero out secret key data
net: sctp: sctp_setsockopt_auth_key: use kzfree instead of kfree
atm/iphase: rename fregt_t -> ffreg_t
ARM: 7641/1: memory: fix broken mmap by ensuring TASK_UNMAPPED_BASE is aligned
ARM: DMA mapping: fix bad atomic test
ARM: realview: ensure that we have sufficient IRQs available
ARM: GIC: fix GIC cpumask initialization
net: usb: fix regression from FLAG_NOARP code
l2tp: dont play with skb->truesize
net: sctp: sctp_auth_key_put: use kzfree instead of kfree
netback: correct netbk_tx_err to handle wrap around.
xen/netback: free already allocated memory on failure in xen_netbk_get_requests
xen/netback: don't leak pages on failure in xen_netbk_tx_check_gop.
xen/netback: shutdown the ring if it contains garbage.
drm/ttm: fix fence locking in ttm_buffer_object_transfer, 2nd try
virtio_console: Don't access uninitialized data.
net: qmi_wwan: add more Huawei devices, including E320
net: cdc_ncm: add another Huawei vendor specific device
ipv6/ip6_gre: fix error case handling in ip6gre_tunnel_xmit()
...
Diffstat (limited to 'drivers/edac/i7300_edac.c')
-rw-r--r-- | drivers/edac/i7300_edac.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c index 9d669cd43618..087c27bc5d42 100644 --- a/drivers/edac/i7300_edac.c +++ b/drivers/edac/i7300_edac.c | |||
@@ -923,7 +923,7 @@ static void i7300_put_devices(struct mem_ctl_info *mci) | |||
923 | * Device 21 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 | 923 | * Device 21 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 |
924 | * Device 22 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 | 924 | * Device 22 function 0: PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 |
925 | */ | 925 | */ |
926 | static int __devinit i7300_get_devices(struct mem_ctl_info *mci) | 926 | static int i7300_get_devices(struct mem_ctl_info *mci) |
927 | { | 927 | { |
928 | struct i7300_pvt *pvt; | 928 | struct i7300_pvt *pvt; |
929 | struct pci_dev *pdev; | 929 | struct pci_dev *pdev; |
@@ -1008,8 +1008,7 @@ error: | |||
1008 | * @pdev: struct pci_dev pointer | 1008 | * @pdev: struct pci_dev pointer |
1009 | * @id: struct pci_device_id pointer - currently unused | 1009 | * @id: struct pci_device_id pointer - currently unused |
1010 | */ | 1010 | */ |
1011 | static int __devinit i7300_init_one(struct pci_dev *pdev, | 1011 | static int i7300_init_one(struct pci_dev *pdev, const struct pci_device_id *id) |
1012 | const struct pci_device_id *id) | ||
1013 | { | 1012 | { |
1014 | struct mem_ctl_info *mci; | 1013 | struct mem_ctl_info *mci; |
1015 | struct edac_mc_layer layers[3]; | 1014 | struct edac_mc_layer layers[3]; |
@@ -1122,7 +1121,7 @@ fail0: | |||
1122 | * i7300_remove_one() - Remove the driver | 1121 | * i7300_remove_one() - Remove the driver |
1123 | * @pdev: struct pci_dev pointer | 1122 | * @pdev: struct pci_dev pointer |
1124 | */ | 1123 | */ |
1125 | static void __devexit i7300_remove_one(struct pci_dev *pdev) | 1124 | static void i7300_remove_one(struct pci_dev *pdev) |
1126 | { | 1125 | { |
1127 | struct mem_ctl_info *mci; | 1126 | struct mem_ctl_info *mci; |
1128 | char *tmp; | 1127 | char *tmp; |
@@ -1163,7 +1162,7 @@ MODULE_DEVICE_TABLE(pci, i7300_pci_tbl); | |||
1163 | static struct pci_driver i7300_driver = { | 1162 | static struct pci_driver i7300_driver = { |
1164 | .name = "i7300_edac", | 1163 | .name = "i7300_edac", |
1165 | .probe = i7300_init_one, | 1164 | .probe = i7300_init_one, |
1166 | .remove = __devexit_p(i7300_remove_one), | 1165 | .remove = i7300_remove_one, |
1167 | .id_table = i7300_pci_tbl, | 1166 | .id_table = i7300_pci_tbl, |
1168 | }; | 1167 | }; |
1169 | 1168 | ||