From: Joe Perches <joe@perches.com>
To: "Winkler, Tomas" <tomas.winkler@intel.com>,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Usyskin, Alexander" <alexander.usyskin@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Gustavo A . R . Silva" <gustavoars@kernel.org>
Subject: Re: [char-misc-next] Revert "mei: hdcp: Replace one-element array with flexible-array member"
Date: Tue, 28 Jul 2020 16:06:08 -0700 [thread overview]
Message-ID: <90f4d174d8a2d50104ad52aa0bd4e0ece86f2e90.camel@perches.com> (raw)
In-Reply-To: <398e20e8c3f7436bb50d671b9aa9f809@intel.com>
On Tue, 2020-07-28 at 22:14 +0000, Winkler, Tomas wrote:
> > -----Original Message-----
> > From: Gustavo A. R. Silva <gustavo@embeddedor.com>
[]
> > I'm using this command:
> >
> > $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback
> >
> > and this is the output for both files:
> >
> > $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback
> > drivers/misc/mei/hdcp/mei_hdcp.c Arnd Bergmann <arnd@arndb.de>
> > (supporter:CHAR and MISC DRIVERS) Greg Kroah-Hartman
> > <gregkh@linuxfoundation.org> (supporter:CHAR and MISC DRIVERS) linux-
> > kernel@vger.kernel.org (open list) $ scripts/get_maintainer.pl --nokeywords --
> > nogit --nogit-fallback drivers/misc/mei/hdcp/mei_hdcp.h Arnd Bergmann
> > <arnd@arndb.de> (supporter:CHAR and MISC DRIVERS) Greg Kroah-Hartman
> > <gregkh@linuxfoundation.org> (supporter:CHAR and MISC DRIVERS) linux-
> > kernel@vger.kernel.org (open list)
> > For some reason you don't appear on the list above. Do you see anything
> > wrong with the command I'm running to get the maintainers and lists?
>
> Not sure, it should be caught by drivers/misc/mei/* ?
No, this pattern matches _only_ files in that
particular directory and not any files in any
subdirectory.
> Maybe it is not recursive?
It depends on the pattern.
Patterns with trailing slashes match subdirectories too.
from MAINTAINERS:
F: *Files* and directories wildcard patterns.
A trailing slash includes all files and subdirectory files.
F: drivers/net/ all files in and below drivers/net
F: drivers/net/* all files in drivers/net, but not below
F: */net/* all files in "any top level directory"/net
One pattern per line. Multiple F: lines acceptable.
> Need to check the script,
> frankly I usually check this manually. prob
>
> INTEL MANAGEMENT ENGINE (mei)
> M: Tomas Winkler <tomas.winkler@intel.com>
> L: linux-kernel@vger.kernel.org
> S: Supported
> F: Documentation/driver-api/mei/*
> F: drivers/misc/mei/*
You probably want:
F: drivers/misc/mei/
> F: drivers/watchdog/mei_wdt.c
> F: include/linux/mei_cl_bus.h
> F: include/uapi/linux/mei.h
> F: samples/mei/*
>
>
> > Thanks
> > --
> > Gustavo
> >
> > > > > I really do not appreciate that the code is bypassing driver
> > > > > maintaner review, I think this is a minimum we can ask for, this is
> > > > > not for a first time.
> > > > >
> > > > > This reverts commit c56967d674e361ebe716e66992e3c5332b25ac1f.
> > > > >
> > > > > Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
> > > > > Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> > > > > ---
> > > > > drivers/misc/mei/hdcp/mei_hdcp.c | 2 +-
> > > > > drivers/misc/mei/hdcp/mei_hdcp.h | 2 +-
> > > > > 2 files changed, 2 insertions(+), 2 deletions(-)
> > > > >
> > > > > diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c
> > > > > b/drivers/misc/mei/hdcp/mei_hdcp.c
> > > > > index d1d3e025ca0e..e6c3dc595617 100644
> > > > > --- a/drivers/misc/mei/hdcp/mei_hdcp.c
> > > > > +++ b/drivers/misc/mei/hdcp/mei_hdcp.c
> > > > > @@ -572,7 +572,7 @@ static int mei_hdcp_verify_mprime(struct device
> > > > *dev,
> > > > > HDCP_2_2_MPRIME_LEN);
> > > > > drm_hdcp_cpu_to_be24(verify_mprime_in.seq_num_m, data-
> > seq_num_m);
> > > > > memcpy(verify_mprime_in.streams, data->streams,
> > > > > - array_size(data->k, sizeof(*data->streams)));
> > > > > + (data->k * sizeof(struct hdcp2_streamid_type)));
> > > > >
> > > > > verify_mprime_in.k = cpu_to_be16(data->k);
> > > > >
> > > > > diff --git a/drivers/misc/mei/hdcp/mei_hdcp.h
> > > > > b/drivers/misc/mei/hdcp/mei_hdcp.h
> > > > > index 834757f5e072..18ffc773fa18 100644
> > > > > --- a/drivers/misc/mei/hdcp/mei_hdcp.h
> > > > > +++ b/drivers/misc/mei/hdcp/mei_hdcp.h
> > > > > @@ -358,7 +358,7 @@ struct wired_cmd_repeater_auth_stream_req_in
> > {
> > > > > u8
> > > > seq_num_m[HDCP_2_2_SEQ_NUM_LEN];
> > > > > u8 m_prime[HDCP_2_2_MPRIME_LEN];
> > > > > __be16 k;
> > > > > - struct hdcp2_streamid_type streams[];
> > > > > + struct hdcp2_streamid_type streams[1];
> > > > > } __packed;
> > > > >
> > > > > struct wired_cmd_repeater_auth_stream_req_out {
> > > > >
next prev parent reply other threads:[~2020-07-28 23:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 21:41 Tomas Winkler
2020-07-28 21:56 ` Gustavo A. R. Silva
2020-07-28 22:01 ` Winkler, Tomas
2020-07-28 22:14 ` Gustavo A. R. Silva
2020-07-28 22:14 ` Winkler, Tomas
2020-07-28 22:29 ` Winkler, Tomas
2020-07-28 23:04 ` Gustavo A. R. Silva
2020-07-28 23:07 ` Winkler, Tomas
2020-07-28 23:16 ` Gustavo A. R. Silva
2020-07-29 3:57 ` Gustavo A. R. Silva
2020-07-28 23:06 ` Joe Perches [this message]
2020-07-28 23:08 ` Winkler, Tomas
2020-07-28 22:17 ` Gustavo A. R. Silva
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=90f4d174d8a2d50104ad52aa0bd4e0ece86f2e90.camel@perches.com \
--to=joe@perches.com \
--cc=alexander.usyskin@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=gustavo@embeddedor.com \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tomas.winkler@intel.com \
/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
all inboxes | Powered by JetHome®