[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1398192315.4211.25.camel@jlt4.sipsolutions.net>
Date: Tue, 22 Apr 2014 20:45:15 +0200
From: Johannes Berg <johannes@...solutions.net>
To: "Luis R. Rodriguez" <mcgrof@...e.com>
Cc: Alexander Aring <alex.aring@...il.com>,
"Luis R. Rodriguez" <mcgrof@...not-panic.com>,
alex.bluesman.smirnov@...il.com, dbaryshkov@...il.com,
linux-zigbee-devel@...ts.sourceforge.net, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
backports@...r.kernel.org
Subject: Re: [PATCH 1/3] 6lowpan: add helper to get 6lowpan namespace
On Tue, 2014-04-22 at 19:58 +0200, Luis R. Rodriguez wrote:
> > > > +#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
> > > > [...]
> > > > +#else
> > > > +static inline struct netns_ieee802154_lowpan *
> > > > +net_ieee802154_lowpan(struct net *net)
> > > > +{
> > > > + return NULL;
> > > > +}
> > > > +#endif
> > >
> > > Why would that be needed? If nobody compiles 802.15.4 then it seems
> > > nothing should reference it?
> > >
> > Indeed I think this is unnecessary, also.
>
> I wanted to be sure, and I was not. Right now 6lowpan does not depend
> on CONFIG_NET_NS, is this intentional? I think its fine without it
> but I was not sure.
I fail to see how !CONFIG_LOWPAN is related CONFIG_NET_NS?
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists