hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/ethernet/amd/atarilance.c
....@@ -156,7 +156,7 @@
156156 struct lance_init_block init;
157157 struct lance_tx_head tx_head[TX_RING_SIZE];
158158 struct lance_rx_head rx_head[RX_RING_SIZE];
159
- char packet_area[0]; /* packet data follow after the
159
+ char packet_area[]; /* packet data follow after the
160160 * init block and the ring
161161 * descriptors and are located
162162 * at runtime */
....@@ -346,7 +346,7 @@
346346 static int lance_close( struct net_device *dev );
347347 static void set_multicast_list( struct net_device *dev );
348348 static int lance_set_mac_address( struct net_device *dev, void *addr );
349
-static void lance_tx_timeout (struct net_device *dev);
349
+static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue);
350350
351351 /************************* End of Prototypes **************************/
352352
....@@ -727,7 +727,7 @@
727727 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
728728
729729
730
-static void lance_tx_timeout (struct net_device *dev)
730
+static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue)
731731 {
732732 struct lance_private *lp = netdev_priv(dev);
733733 struct lance_ioreg *IO = lp->iobase;