Linux USB
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Elias Rudberg <mail@eliasrudberg.se>, linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
Date: Thu, 11 Mar 2021 14:15:10 +0100	[thread overview]
Message-ID: <YEoX3i54VVHJ4155@kroah.com> (raw)
In-Reply-To: <YEoVSRfVaGr6uxXe@kuha.fi.intel.com>

On Thu, Mar 11, 2021 at 03:04:09PM +0200, Heikki Krogerus wrote:
> Hi,
> 
> On Thu, Mar 11, 2021 at 01:47:10PM +0100, Elias Rudberg wrote:
> > Remove the unused "u32 vdo[3]" part in the tps6598x_rx_identity_reg
> > struct. This helps avoid "failed to register partner" errors which
> > happen when tps6598x_read_partner_identity() fails because the
> > amount of data read is 12 bytes smaller than the struct size.
> > Note that vdo[3] is already in usb_pd_identity and hence
> > shouldn't be added to tps6598x_rx_identity_reg as well.
> > 
> > Fixes: f6c56ca91b92 ("usb: typec: Add the Product Type VDOs to struct usb_pd_identity")
> > 
> > Signed-off-by: Elias Rudberg <mail@eliasrudberg.se>
> 
> This needs to go to the stable kernels as well. Please resend with the
> appropriate "Cc: stable@vger.kernel.org" tag. Please also include my
> reviewed-by tag:
> 
> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

I can add the cc: stable when committting this, thanks.

greg k-h

  reply	other threads:[~2021-03-11 13:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 12:47 [PATCH] usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct Elias Rudberg
2021-03-11 13:04 ` Heikki Krogerus
2021-03-11 13:15   ` Greg KH [this message]
2021-03-11 13:34     ` Heikki Krogerus
2021-03-12 12:50 ` Guido Günther

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=YEoX3i54VVHJ4155@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=mail@eliasrudberg.se \
    /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