Skip to contentSkip to conversation

various size fixes

PATCH New O.Sezer 1 participant 1 message Aug 13, 2004 Network drivers

lore
Share & tools
lore

O.Sezer

author
#0 lore raw

PATCH 1/1 various size fixes

Misc size fixes which also cure some compiler warnings.

Özkan Sezer

include/linux/scc.h +1 -1
@@ -200,7 +200,7 @@
 	unsigned char fulldup;		/* Full Duplex mode 0=CSMA 1=DUP 2=ALWAYS KEYED */
 	unsigned char waittime;		/* Waittime before any transmit attempt */
 	unsigned int  maxkeyup;		/* Maximum time to transmit (seconds) */
-	unsigned char mintime;		/* Minimal offtime after MAXKEYUP timeout (seconds) */
+	unsigned int  mintime;		/* Minimal offtime after MAXKEYUP timeout (seconds) */
 	unsigned int  idletime;		/* Maximum idle time in ALWAYS KEYED mode (seconds) */
 	unsigned int  maxdefer;		/* Timer for CSMA channel busy limit */
 	unsigned char tx_inhibit;	/* Transmit is not allowed when set */	
drivers/hotplug/cpqphp_pci.c +1 -1
@@ -387,7 +387,8 @@
 
 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 * dev_num)
 {
-	u8 tdevice;
+	u16 tdevice;
 	u32 work;
 	u8 tbus;
 
drivers/isdn/eicon/fourbri.c +2 -1
@@ -337,7 +337,8 @@
 static int diva_server_4bri_start(card_t *card, byte *channels)
 {
 	byte *ctl;
-	byte *shared, i;
+	byte *shared;
+	int i;
 	int adapter_num;
 
 	DPRINTF(("divas: start Diva Server 4BRI"));
drivers/net/tokenring/3c359.c +1 -1
@@ -389,7 +389,7 @@
     	struct xl_private *xl_priv = (struct xl_private *)dev->priv ;
 	u8 *xl_mmio = xl_priv->xl_mmio ; 
 	unsigned long t ; 
-	u16 i ; 
+	u32 i ;
     	u16 result_16 ; 
 	u8 result_8 ;
 	u16 start ;