mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4] various size fixes
@ 2004-08-13 18:55 O.Sezer
  0 siblings, 0 replies; only message in thread
From: O.Sezer @ 2004-08-13 18:55 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

Misc size fixes which also cure some compiler warnings.

Özkan Sezer


[-- Attachment #2: SIZE-fixes1.diff --]
[-- Type: text/plain, Size: 1801 bytes --]

--- 27rc5~/include/linux/scc.h	2001-04-12 22:20:31.000000000 +0300
+++ 27rc5/include/linux/scc.h	2004-08-07 14:09:39.000000000 +0300
@@ -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 */	
--- 27rc5~/drivers/hotplug/cpqphp_pci.c	2003-11-28 20:26:20.000000000 +0200
+++ 27rc5/drivers/hotplug/cpqphp_pci.c	2004-08-07 14:09:39.000000000 +0300
@@ -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;
 
--- 27rc5~/drivers/isdn/eicon/fourbri.c	2001-09-30 22:26:05.000000000 +0300
+++ 27rc5/drivers/isdn/eicon/fourbri.c	2004-08-07 14:09:39.000000000 +0300
@@ -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"));
--- 27rc5~/drivers/net/tokenring/3c359.c	2003-06-13 17:51:35.000000000 +0300
+++ 27rc5/drivers/net/tokenring/3c359.c	2004-08-07 14:09:39.000000000 +0300
@@ -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 ; 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-13 18:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 18:55 [PATCH 2.4] various size fixes O.Sezer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®