Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp671888ybg; Tue, 28 Jul 2020 16:07:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRFR63SzhCX+9N8EwBOM41S2moTu+cCNd8prCO7BOS9kArIpFb0A9omTrm4ICi2C4hn4jJ X-Received: by 2002:a17:906:57da:: with SMTP id u26mr28559667ejr.157.1595977629677; Tue, 28 Jul 2020 16:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595977629; cv=none; d=google.com; s=arc-20160816; b=MvIT3/bNKlnAk8ChdDsy+G8cYD9LI3YObjuS+pZ3FPhp6cGcCPuyVl3OyEhiYDpSIH oj7Ewh7v+PYZpz8qLqyPayP11B024U8TZ/s/FKhMaIHSmPvTttFJxCExkXL93qO4B8RU 3VjMl7vvAerWy3Y8BSoioiAtvgCQrbO5TNZuLi//o7Ek+uj+BVr6e6izY5PZa82e6k47 OqWBl/lphUjbuTPQ+HxtfNFMDwGBzH/rJgZd0g1T7W3BNX6rmW7H/RGzHPJ5ZpElwHAj ejD+ltwZRBb6esqhv7y42R6AwPeWlk+msvk9WBLfKtp4JlvNHY5fmwXAXLJ7F/a3qXVl vjgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=CD4YMNTn9Cj2AMNwDtguNqmV/xRSr/fWdwrxguvsRIw=; b=jIKyYf96qxfVIE7ye1ffrsndxtnUYmSPIuQ9e/82QVG3rW/U2pO5izCyIwsPOHt7No 6JTEcwL5UC+Er/a80Kjy0/1deq0Yn36vcixt+3c8jDI0xZFItASzXH7GjQ2GwzmFpvma bSpY/u++31mq/TsxIM5srDxEQbO0SB6AVDdQENGYeDfwAgUtD733hfw3Ol8TLS1NjV3K nI388GH5qFjgm5IU8LyrLw9Ond/DOzfBgpZYLcFPiYtuzS4MxxAlVeoa/HmAHa/myc/z AUsK8qfTEfGSofJ7TI+h4KwXxAKmdw/fAIgBt1gKjZbHgqckOouSguJXD6SPMHRFn9J8 o8CA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi26si120673edb.161.2020.07.28.16.06.47; Tue, 28 Jul 2020 16:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730062AbgG1XGP (ORCPT + 99 others); Tue, 28 Jul 2020 19:06:15 -0400 Received: from smtprelay0009.hostedemail.com ([216.40.44.9]:42968 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730323AbgG1XGN (ORCPT ); Tue, 28 Jul 2020 19:06:13 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id DF3A3182CED5B; Tue, 28 Jul 2020 23:06:11 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1515:1516:1518:1535:1544:1593:1594:1605:1711:1730:1747:1777:1792:2393:2559:2562:2828:2911:3138:3139:3140:3141:3142:3622:3865:3867:3868:3870:3871:3872:3873:3874:4321:4384:4425:4605:5007:6691:7576:7809:7903:9010:9038:10004:10848:11026:11232:11473:11657:11658:11914:12043:12048:12109:12295:12297:12346:12438:12555:12663:12679:12740:12760:12895:12986:13095:13255:13439:14093:14097:14181:14659:14721:21063:21080:21433:21451:21627:30012:30054:30055:30063:30064:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: swing96_0a091fa26f6d X-Filterd-Recvd-Size: 5557 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf07.hostedemail.com (Postfix) with ESMTPA; Tue, 28 Jul 2020 23:06:10 +0000 (UTC) Message-ID: <90f4d174d8a2d50104ad52aa0bd4e0ece86f2e90.camel@perches.com> Subject: Re: [char-misc-next] Revert "mei: hdcp: Replace one-element array with flexible-array member" From: Joe Perches To: "Winkler, Tomas" , "Gustavo A. R. Silva" , Greg Kroah-Hartman Cc: "Usyskin, Alexander" , "linux-kernel@vger.kernel.org" , "Gustavo A . R . Silva" Date: Tue, 28 Jul 2020 16:06:08 -0700 In-Reply-To: <398e20e8c3f7436bb50d671b9aa9f809@intel.com> References: <20200728214139.3129532-1-tomas.winkler@intel.com> <8ec7601780b542c2bc0168e03749ec0e@intel.com> <398e20e8c3f7436bb50d671b9aa9f809@intel.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-07-28 at 22:14 +0000, Winkler, Tomas wrote: > > -----Original Message----- > > From: Gustavo A. R. Silva [] > > 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 > > (supporter:CHAR and MISC DRIVERS) Greg Kroah-Hartman > > (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 > > (supporter:CHAR and MISC DRIVERS) Greg Kroah-Hartman > > (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 > 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 > > > > > Signed-off-by: Tomas Winkler > > > > > --- > > > > > 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 { > > > > >