From: Ben Hutchings <ben@decadent.org.uk>
To: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org,
slapin@ossfans.org, maxim.osipov@siemens.com,
dmitry.baryshkov@siemens.com, oliver.fendt@siemens.com
Subject: Re: [PATCH 2/5] net: add IEEE 802.15.4 partial implementation
Date: Sat, 30 May 2009 17:32:16 +0100 [thread overview]
Message-ID: <1243701136.3818.22.camel@deadeye> (raw)
In-Reply-To: <20090528084836.GA6793@doriath.ww600.siemens.net>
[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]
On Thu, 2009-05-28 at 12:48 +0400, Dmitry Eremin-Solenikov wrote:
> On Thu, May 28, 2009 at 04:08:51AM +0100, Ben Hutchings wrote:
> > On Tue, 2009-05-26 at 15:23 +0400, Dmitry Eremin-Solenikov wrote:
> > [...]
> > > diff --git a/include/net/ieee802154/af_ieee802154.h b/include/net/ieee802154/af_ieee802154.h
> > > new file mode 100644
> > > index 0000000..6eb7f51
> > > --- /dev/null
> > > +++ b/include/net/ieee802154/af_ieee802154.h
> > [...]
> > > +#ifdef __KERNEL__
> > > +#include <linux/skbuff.h>
> > > +#include <linux/netdevice.h>
> >
> > The struct declarations would be sufficient.
>
> Do you mean just:
> struct sk_buff;
> struct net_device;
Right.
[...]
> >
> > [...]
> > > +#define IEEE802154_FETCH_U64(skb, var) \
> > > + do { \
> > > + if (skb->len < IEEE802154_ADDR_LEN) \
> >
> > I see what you did there...
>
> ???
[...]
This macro works with u64 values, not specifically addresses, which
happen to be 8 bytes long too. I infer that someone search-and-replaced
instances of the literal 8 with IEEE802154_ADDR_LEN and wrongly replaced
this instance.
Ben.
--
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2009-05-30 16:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 11:21 [RFC][WIP] IEEE 802.15.4 implementation for Linux Dmitry Eremin-Solenikov
2009-05-26 11:23 ` [PATCH 1/5] Add constants for the ieee 802.15.4/ZigBee stack Dmitry Eremin-Solenikov
2009-05-26 11:23 ` [PATCH 2/5] net: add IEEE 802.15.4 partial implementation Dmitry Eremin-Solenikov
2009-05-26 11:23 ` [PATCH 3/5] ieee802154: add socket address family code Dmitry Eremin-Solenikov
2009-05-26 11:23 ` [PATCH 4/5] ieee802154: add virtual loopback driver Dmitry Eremin-Solenikov
2009-05-26 11:23 ` [PATCH 5/5] ieee802154: add serial dongle driver Dmitry Eremin-Solenikov
2009-05-28 3:08 ` [PATCH 2/5] net: add IEEE 802.15.4 partial implementation Ben Hutchings
2009-05-28 6:35 ` Maxim Osipov
2009-05-28 8:48 ` Dmitry Eremin-Solenikov
2009-05-30 16:32 ` Ben Hutchings [this message]
2009-05-27 9:58 ` [RFC][WIP] IEEE 802.15.4 implementation for Linux Florian Fainelli
2009-05-27 12:46 ` Dmitry Eremin-Solenikov
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=1243701136.3818.22.camel@deadeye \
--to=ben@decadent.org.uk \
--cc=dbaryshkov@gmail.com \
--cc=dmitry.baryshkov@siemens.com \
--cc=linux-wireless@vger.kernel.org \
--cc=maxim.osipov@siemens.com \
--cc=netdev@vger.kernel.org \
--cc=oliver.fendt@siemens.com \
--cc=slapin@ossfans.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 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.