mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4] pm3fb and kaweth missing casts
@ 2004-08-13 19:26 O.Sezer
  0 siblings, 0 replies; only message in thread
From: O.Sezer @ 2004-08-13 19:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: marcelo.tosatti

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

$SUBJECT


[-- Attachment #2: kawetch-cast.diff --]
[-- Type: text/plain, Size: 322 bytes --]

--- 27rc5~/drivers/usb/kaweth.c	2003-08-25 14:44:42.000000000 +0300
+++ 27rc5/drivers/usb/kaweth.c	2004-08-07 14:18:04.000000000 +0300
@@ -735,7 +735,7 @@
 		}
 	}
 
-	private_header = __skb_push(skb, 2);
+	private_header = (u16 *)__skb_push(skb, 2);
 	*private_header = cpu_to_le16(skb->len-2);
 	kaweth->tx_skb = skb;
 

[-- Attachment #3: pm3fb.c-cast.diff --]
[-- Type: text/plain, Size: 626 bytes --]

--- 27rc5~/drivers/video/pm3fb.c	2004-04-14 16:05:38.000000000 +0300
+++ 27rc5/drivers/video/pm3fb.c	2004-08-07 14:09:39.000000000 +0300
@@ -3838,11 +3838,9 @@
 				    (unsigned char *) -1) {
 					pm3fb_unmapIO(l_fb_info);
 #if (defined KERNEL_2_4) || (defined KERNEL_2_5)
-					release_mem_region(l_fb_info->p_fb,
-							   l_fb_info->
-							   fb_size);
-					release_mem_region(l_fb_info->
-							   pIOBase,
+					release_mem_region((u_long)l_fb_info->p_fb,
+							   l_fb_info->fb_size);
+					release_mem_region((u_long)l_fb_info->pIOBase,
 							   PM3_REGS_SIZE);
 #endif /* KERNEL_2_4 or KERNEL_2_5 */
 				}

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 19:26 [PATCH 2.4] pm3fb and kaweth missing casts 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®