[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190131093727.GX7875@lahna.fi.intel.com>
Date: Thu, 31 Jan 2019 11:37:27 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Lukas Wunner <lukas@...ner.de>
Cc: linux-kernel@...r.kernel.org,
Michael Jamet <michael.jamet@...el.com>,
Yehezkel Bernat <YehezkelShB@...il.com>,
Andreas Noever <andreas.noever@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH 09/28] thunderbolt: Cache adapter specific capability
offset into struct port
On Thu, Jan 31, 2019 at 10:23:09AM +0100, Lukas Wunner wrote:
> On Tue, Jan 29, 2019 at 06:01:24PM +0300, Mika Westerberg wrote:
> > --- a/drivers/thunderbolt/tb.h
> > +++ b/drivers/thunderbolt/tb.h
> > @@ -124,6 +124,8 @@ struct tb_switch {
> > * @remote: Remote port (%NULL if not connected)
> > * @xdomain: Remote host (%NULL if not connected)
> > * @cap_phy: Offset, zero if not found
> > + * @cap_adap: Offset of the adapter specific capability. Negative if not
> > + * present.
>
> Hm, could cap_adap be made zero in the non-presence case for consistency
> with cap_phy?
Sure.
Powered by blists - more mailing lists