lkml.org 
[lkml]   [2019]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2019-01-31 10:38    [W:0.061 / U:19.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site