BNX2X: LIST_HEAD -> LINUX_LIST_HEAD
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 23 Feb 2015 16:10:54 +0000 (11:10 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 Mar 2015 16:59:07 +0000 (11:59 -0500)
Since no one can use LIST_HEAD, to prevent future bugs.

kern/drivers/net/bnx2x/bnx2x_main.c

index 5895a80..fefd69a 100644 (file)
@@ -238,7 +238,7 @@ MODULE_DEVICE_TABLE(pci, bnx2x_pci_tbl);
 /* Global resources for unloading a previously loaded device */
 #define BNX2X_PREV_WAIT_NEEDED 1
 static DEFINE_SEMAPHORE(bnx2x_prev_sem);
-static LIST_HEAD(bnx2x_prev_list);
+static LINUX_LIST_HEAD(bnx2x_prev_list);
 
 /* Forward declaration */
 static struct cnic_eth_dev *bnx2x_cnic_probe(struct net_device *dev);