Skip to contentSkip to conversation

scsi, be2iscsi, LLVMLinux: Add missing MODULE_DEVICE_TABLE()

PATCH In review Behan Webster 2 participants 2 messages Jan 29, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi, be2iscsi, LLVMLinux: Add missing MODULE_DEVICE_TABLE()

Missing MODULE_DEVICE_TABLE for pci ids from be2iscsi driver found by clang.

---
 drivers/scsi/be2iscsi/be_main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/be2iscsi/be_main.c +0 -1
index f319340..96241b2 100644
@@ -48,7 +48,6 @@ static unsigned int be_iopoll_budget = 10;
 static unsigned int be_max_phys_size = 64;
 static unsigned int enable_msix = 1;
 
-MODULE_DEVICE_TABLE(pci, beiscsi_pci_id_table);
 MODULE_DESCRIPTION(DRV_DESC " " BUILD_STR);
 MODULE_VERSION(BUILD_STR);
 MODULE_AUTHOR("Emulex Corporation");
Signature · 1 line
1.9.1
#1 lore raw
Quoted 7 lines · On Wednesday 28 January 2015 17:37:02 Behan Webster wrote:

Missing MODULE_DEVICE_TABLE for pci ids from be2iscsi driver found by clang.

---

Like one previous patch, the change is good, the description is wrong. This patch removes a duplicate MODULE_DEVICE_TABLE entry.

Arnd