From: "O.Sezer" <sezeroz@ttnet.net.tr>
To: linux-kernel@vger.kernel.org
Cc: marcelo.tosatti@cyclades.com
Subject: [PATCH 2.4] pm3fb and kaweth missing casts
Date: Fri, 13 Aug 2004 22:26:41 +0300 [thread overview]
Message-ID: <411D15F1.1090005@ttnet.net.tr> (raw)
[-- 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 */
}
reply other threads:[~2004-08-13 19:33 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=411D15F1.1090005@ttnet.net.tr \
--to=sezeroz@ttnet.net.tr \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.