Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1475904ybh; Thu, 23 Jul 2020 09:46:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxx+aCoxFcnnIypXAoJ3h6+0rTAHKThegfpCuYe4F6zLCo0ubZ6C914KmJfFG9YEa5bChG X-Received: by 2002:a17:906:c285:: with SMTP id r5mr5129176ejz.153.1595522784392; Thu, 23 Jul 2020 09:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595522784; cv=none; d=google.com; s=arc-20160816; b=zyZQXG2n/AEwt2qCmgTlFAbyoLl4F24NOcqMV/wo6e6QcIrIKUZvyEmmQfEx42fxw2 ZwhP20pgRT2J1t2djq6GRS9/wNOwjoypfPketmDbr7m1SwdYzpUrkFy6kYnrSdYmywGF s7g7XFFOucKnLMvwKiaWbhMUq+1k/xQlj/Tv5V+H6vVKBMCnIyJCIUj2nuuDWe3l/pX3 IIP4QCakme1LkZxrhtBwc0Dk7RtZLL/h+aIBc04E0+oa6Y8yG9FLpdpibkS9zFRmTCmp +DJJq9LR+KMDz6dPM7GNBGKBQTTiczJwC5Hhf6p3/LpcGURk0ilG8LSmWqA+DAXLOSOa 0CPg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=5+KeKfEQuqn5RNJi3+VXKijE8q3xjOFimxFIDM5pcjA=; b=vMBxnxT2sQPF94E/x4Akx/iFTeNpe7Ou4wdAsn8bYpV/aXfJfD/kCDgw9wbcwBOkJs Mu6tJUXJxU1tVLYCGn+CmyAUBuTggX2zEWM55khsw24sGS0ur6RKcsM+kmiThSgUgcc4 fFIP9Q5ae4s1V9y9uKK8KytrTmcB5meTL8jnYfUm9qa+uB7Ac/PUgmOZeoARUwYodAoH KYgFU/bbfe23gNLRbcOahjShh1ol1uclJIjf9Yf0v+wtU+w9+FxVfqm0CWxv/VdpYB/G Lc1G5eOz7sfC6BsAtD5xC1mkSbMOCf5nhKe1CAfhPgf5NQgjvsjn590JWL5H56MqppnG IqIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=UBzGZaub; 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 h5si2468319eji.26.2020.07.23.09.46.01; Thu, 23 Jul 2020 09:46:24 -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; dkim=fail header.i=@embeddedor.com header.s=default header.b=UBzGZaub; 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 S1729871AbgGWQnm (ORCPT + 99 others); Thu, 23 Jul 2020 12:43:42 -0400 Received: from gateway24.websitewelcome.com ([192.185.51.202]:32622 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727044AbgGWQnl (ORCPT ); Thu, 23 Jul 2020 12:43:41 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 1ECB0141A3 for ; Thu, 23 Jul 2020 11:43:39 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id yeJnjdLYjzOauyeJnjQJNz; Thu, 23 Jul 2020 11:43:39 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5+KeKfEQuqn5RNJi3+VXKijE8q3xjOFimxFIDM5pcjA=; b=UBzGZaubjXJuswOXu7vq5bOjrS V+vuysPy6vCjSfgs5cfXKLQoqzBaNeFA1sYVDJQL+0CpKjeWXJeHpA1bfBrgBk4dhkv2Zlj7o3sKT QRWltRaiSgfmrIc6LF46W+LgHyFIVBM/yKjznq2aR6P+faaj2Mr3fgL6gILbB4DEhaXMxlT13+ily YaoRx6usPMnjnSPLqdOtFbRS2abUBzPUrmNmbGa6cBKy+UtApQcBaa2gIvzhb7Qe/CX17/192U679 Wz4jbzv+MWJqcK2XhrNSxwUMhSpooAWaM1BJ43zPFTAO1HrOZt51g/38CcX0hQFU7nOCBFLwps5Xt gWOMit6w==; Received: from [201.162.245.27] (port=42526 helo=[192.168.43.132]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jyeJm-003xFC-L0; Thu, 23 Jul 2020 11:43:38 -0500 Subject: Re: [char-misc-next 6/6] mei: hw: don't use one element arrays To: Tomas Winkler , Greg Kroah-Hartman Cc: Alexander Usyskin , linux-kernel@vger.kernel.org, "Gustavo A . R . Silva" , Arnd Bergmann References: <20200723145927.882743-1-tomas.winkler@intel.com> <20200723145927.882743-7-tomas.winkler@intel.com> From: "Gustavo A. R. Silva" Autocrypt: addr=gustavo@embeddedor.com; keydata= xsFNBFssHAwBEADIy3ZoPq3z5UpsUknd2v+IQud4TMJnJLTeXgTf4biSDSrXn73JQgsISBwG 2Pm4wnOyEgYUyJd5tRWcIbsURAgei918mck3tugT7AQiTUN3/5aAzqe/4ApDUC+uWNkpNnSV tjOx1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BZQQY AQgADwUCWywcDAIbDAUJCWYBgAAKCRBHBbTLRwbbMdsZEACUjmsJx2CAY+QSUMebQRFjKavw XB/xE7fTt2ahuhHT8qQ/lWuRQedg4baInw9nhoPE+VenOzhGeGlsJ0Ys52sdXvUjUocKgUQq 6ekOHbcw919nO5L9J2ejMf/VC/quN3r3xijgRtmuuwZjmmi8ct24TpGeoBK4WrZGh/1hAYw4 ieARvKvgjXRstcEqM5thUNkOOIheud/VpY+48QcccPKbngy//zNJWKbRbeVnimua0OpqRXhC rEVm/xomeOvl1WK1BVO7z8DjSdEBGzbV76sPDJb/fw+y+VWrkEiddD/9CSfgfBNOb1p1jVnT 2mFgGneIWbU0zdDGhleI9UoQTr0e0b/7TU+Jo6TqwosP9nbk5hXw6uR5k5PF8ieyHVq3qatJ 9K1jPkBr8YWtI5uNwJJjTKIA1jHlj8McROroxMdI6qZ/wZ1ImuylpJuJwCDCORYf5kW61fcr HEDlIvGc371OOvw6ejF8ksX5+L2zwh43l/pKkSVGFpxtMV6d6J3eqwTafL86YJWH93PN+ZUh 6i6Rd2U/i8jH5WvzR57UeWxE4P8bQc0hNGrUsHQH6bpHV2lbuhDdqo+cM9ehGZEO3+gCDFmK rjspZjkJbB5Gadzvts5fcWGOXEvuT8uQSvl+vEL0g6vczsyPBtqoBLa9SNrSVtSixD1uOgyt AP7RWS474w== Message-ID: Date: Thu, 23 Jul 2020 11:49:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200723145927.882743-7-tomas.winkler@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 201.162.245.27 X-Source-L: No X-Exim-ID: 1jyeJm-003xFC-L0 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.43.132]) [201.162.245.27]:42526 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 4 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/23/20 09:59, Tomas Winkler wrote: > Replace the single element arrays with a simple value type u8 reserved, > even thought is is not used for dynamically sized trailing elements > it confuses the effort of replacing one-element arrays with > flexible arrays for that purpose. > > Link: https://github.com/KSPP/linux/issues/79 > Cc: Gustavo A. R. Silva > Signed-off-by: Tomas Winkler Reviewed-by: Gustavo A. R. Silva Thanks -- Gustavo > --- > drivers/misc/mei/hw.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h > index b1a8d5ec88b3..26fa92cb7f7a 100644 > --- a/drivers/misc/mei/hw.h > +++ b/drivers/misc/mei/hw.h > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > /* > - * Copyright (c) 2003-2018, Intel Corporation. All rights reserved > + * Copyright (c) 2003-2020, Intel Corporation. All rights reserved > * Intel Management Engine Interface (Intel MEI) Linux driver > */ > > @@ -319,7 +319,7 @@ struct hbm_props_response { > u8 hbm_cmd; > u8 me_addr; > u8 status; > - u8 reserved[1]; > + u8 reserved; > struct mei_client_properties client_properties; > } __packed; > > @@ -352,7 +352,7 @@ struct hbm_add_client_response { > u8 hbm_cmd; > u8 me_addr; > u8 status; > - u8 reserved[1]; > + u8 reserved; > } __packed; > > /** > @@ -461,7 +461,7 @@ struct hbm_notification { > u8 hbm_cmd; > u8 me_addr; > u8 host_addr; > - u8 reserved[1]; > + u8 reserved; > } __packed; > > /** >