All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: jgarzik@pobox.com, netdev@oss.sgi.com
Subject: [PATCH] Fix warnings in defxx.c
Date: Tue, 7 Oct 2003 19:55:35 +0200	[thread overview]
Message-ID: <20031007175535.GA1743@averell> (raw)


Fix harmless 64bit warnings in defxx.c

diff -u linux-2.5-cleanup/drivers/net/defxx.c-o linux-2.5-cleanup/drivers/net/defxx.c
--- linux-2.5-cleanup/drivers/net/defxx.c-o	2003-08-22 13:35:29.000000000 +0200
+++ linux-2.5-cleanup/drivers/net/defxx.c	2003-12-02 17:12:55.629162080 +0100
@@ -2664,8 +2664,8 @@
  
 static void my_skb_align(struct sk_buff *skb, int n)
 {
-	u32 x=(u32)skb->data;	/* We only want the low bits .. */
-	u32 v;
+	unsigned long x=(unsigned long)skb->data;	
+	unsigned long v;
 	
 	v=(x+n-1)&~(n-1);	/* Where we want to be */
 	

             reply	other threads:[~2003-10-07 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 17:55 Andi Kleen [this message]
2003-10-07 18:15 ` [PATCH] Fix warnings in defxx.c Maciej W. Rozycki

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=20031007175535.GA1743@averell \
    --to=ak@muc.de \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.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.