mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "O.Sezer" <sezeroz@ttnet.net.tr>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.4] various size fixes
Date: Fri, 13 Aug 2004 21:55:24 +0300	[thread overview]
Message-ID: <411D0E9C.7010707@ttnet.net.tr> (raw)

[-- 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 ; 


                 reply	other threads:[~2004-08-13 18:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411D0E9C.7010707@ttnet.net.tr \
    --to=sezeroz@ttnet.net.tr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®