From: Andrew Morton <akpm@linux-foundation.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: jgarzik@pobox.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: 2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity
Date: Wed, 7 Mar 2007 15:00:57 -0800 [thread overview]
Message-ID: <20070307150057.4e6342dc.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070307224116.GE3441@stusta.de>
On Wed, 7 Mar 2007 23:41:16 +0100
Adrian Bunk <bunk@stusta.de> wrote:
> On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote:
> >...
> > Changes since 2.6.20-rc2-mm1:
> >...
> > git-netdev-all.patch
> >...
> > git trees
> >...
>
> drivers/net/wireless/libertas/debugfs.c contains:
> #define item_addr(n) ((u32) &((wlan_adapter *)0)->n)
>
> This is wrong on 64bit architectures.
Is OK - it is simply yet another reimplementation of offsetof(). Hint.
next prev parent reply other threads:[~2007-03-07 23:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070306004408.d3f6434d.akpm@linux-foundation.org>
2007-03-07 22:41 ` 2.6.21-rc2-mm2: drivers/net/wireless/libertas/debugfs.c addr bogosity Adrian Bunk
2007-03-07 23:00 ` Andrew Morton [this message]
2007-03-08 8:02 ` Adrian Bunk
2007-03-09 2:11 ` Tony Breeds
[not found] ` <20070309021146.GL4575-B47dsA4koDqXvyopL2yb9tBPR1lH4CV8@public.gmane.org>
2007-03-09 14:19 ` John W. Linville
[not found] ` <20070309141906.GA3296-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2007-03-09 17:14 ` Randy Dunlap
2007-03-12 3:43 ` Tony Breeds
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=20070307150057.4e6342dc.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bunk@stusta.de \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).