Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2007526ybh; Tue, 14 Jul 2020 13:00:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvqGMJ0WlJyZgN/AGWz+hWPXd4DTlAiSLdxI8HUaZMn/ckkJec3D9CDyO3Jt/gMEAER+RD X-Received: by 2002:a17:906:a081:: with SMTP id q1mr5781088ejy.499.1594756852214; Tue, 14 Jul 2020 13:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594756852; cv=none; d=google.com; s=arc-20160816; b=iZLVFCc5SSnG5/7rnj5EHXJN5TUNax/SYFRnYJ7cLuAtNJodnP52gB5l6t/KjPyqki 6vO4GNnBbwqfotaWtUFy2QXTqeOKrV65I2RqCpHtzzctGm5+6OIhftIeCW/aM99Brsco NorUX4e2DOKBCV7lkCjvBaPCviIDcwq4tElsrdDYEO1z08uITdNoa/jLzLG0aZZnrRwJ Se5pToY4/e25BARGy2jd8WzjitHrYOI4eupkVM405MTAqWInrP++8oFb50M90r7IMGY4 cqOL2iIlUFIdFWjo3k4NYifkMPbJueK3bbhrIkpGHshxoKYmi+OkAlVGp+UwzURkuMph vL/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=7Mk+tGsNyDUMMVu3fep1XdBV4SOUVPsmgezIDOlvTn4=; b=TdCYMXM+c3Qo3ykMLVJh3lgRIYjAxCOlPdljoTrfFcM441cMKTXJy4LarBI0WSPTOQ dS8qFkSelaStQLQoLV616J4UqEGUxLyZRNipTOtwrAB5xHsmoUbj4p0eEbFkTKbSb1BF quTpxtxkqxiSa2j+YAOygbGW4yKODe4qR3srfV7ntbxnF8WqY4uAou6I4S9O1XNXOwwp dooTvZwnmiZPRP/qNVjxiXHzqKfY4UY20gwua1FwTOlsQ1BiYXt1OP7+tDY/554xf08y 4L4tBHN0DHqcVu8LbinAwGP4fwBRwgG496agGMYGJj7YDbxQ2Th3TP6w/ohs979Sv08r vfbw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id la26si10759235ejb.587.2020.07.14.13.00.27; Tue, 14 Jul 2020 13:00:52 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729238AbgGNT5z (ORCPT + 99 others); Tue, 14 Jul 2020 15:57:55 -0400 Received: from mga04.intel.com ([192.55.52.120]:1672 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgGNT5z (ORCPT ); Tue, 14 Jul 2020 15:57:55 -0400 IronPort-SDR: Vcs2KtrI8/vCeP5MBy+yI6L8pqpUmCIocSjpmOfbKZhvNZIqQFbsyDeBiwEdx6Q5U3325JIk4z 1yCcjE/KgYfQ== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="146527842" X-IronPort-AV: E=Sophos;i="5.75,352,1589266800"; d="scan'208";a="146527842" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2020 12:57:54 -0700 IronPort-SDR: vgJEtswW57bMM9d6eV3f7gTpEkb2BRG+DouUyWMEbshmio6JShLrV6B3l49Pxkqbw4zr/HKk4N gtAB7HM0I5Nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,352,1589266800"; d="scan'208";a="485996588" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 14 Jul 2020 12:57:54 -0700 Received: from hasmsx601.ger.corp.intel.com (10.184.107.141) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jul 2020 12:57:53 -0700 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by HASMSX601.ger.corp.intel.com (10.184.107.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 14 Jul 2020 22:57:51 +0300 Received: from hasmsx602.ger.corp.intel.com ([10.184.107.142]) by HASMSX602.ger.corp.intel.com ([10.184.107.142]) with mapi id 15.01.1713.004; Tue, 14 Jul 2020 22:57:51 +0300 From: "Winkler, Tomas" To: "Gustavo A. R. Silva" CC: Arnd Bergmann , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH][next] mei: Avoid the use of one-element arrays Thread-Topic: [PATCH][next] mei: Avoid the use of one-element arrays Thread-Index: AQHWWgYBVMvTEO76bk+MJBte9XQfr6kHWu4Q///SZ4CAAE7REA== Date: Tue, 14 Jul 2020 19:57:51 +0000 Message-ID: <32f85e185c2244a19a1705d0db315c69@intel.com> References: <20200714174644.GA30158@embeddedor> <20200714180855.GA31158@embeddedor> In-Reply-To: <20200714180855.GA31158@embeddedor> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.184.70.1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiANCj4gT24gVHVlLCBKdWwgMTQsIDIwMjAgYXQgMDU6NTQ6MzJQTSArMDAwMCwgV2lua2xlciwg VG9tYXMgd3JvdGU6DQo+ID4gPg0KPiA+ID4gVGhlcmUgaXMgYSByZWd1bGFyIG5lZWQgaW4gdGhl IGtlcm5lbCB0byBwcm92aWRlIGEgd2F5IHRvIGRlY2xhcmUNCj4gPiA+IGhhdmluZyBhIGR5bmFt aWNhbGx5IHNpemVkIHNldCBvZiB0cmFpbGluZyBlbGVtZW50cyBpbiBhIHN0cnVjdHVyZS4NCj4g PiA+IEtlcm5lbCBjb2RlIHNob3VsZCBhbHdheXMgdXNlIOKAnGZsZXhpYmxlIGFycmF5IG1lbWJl cnPigJ1bMV0gZm9yIHRoZXNlDQo+ID4gPiBjYXNlcyBvciwgYXMgaW4gdGhpcyBwYXJ0aWN1bGFy IGNhc2UsIHJlcGxhY2UgdGhlIG9uZS1lbGVtZW50IGFycmF5DQo+ID4gPiB3aXRoIGEgc2ltcGxl IHZhbHVlIHR5cGUgdTggcmVzZXJ2ZWQgb25jZSB0aGlzIGlzIGp1c3QgYSBwbGFjZWhvbGRlcg0K PiA+ID4gZm9yIGFsaWdubWVudC4gVGhlIG9sZGVyIHN0eWxlIG9mIG9uZS1lbGVtZW50IG9yIHpl cm8tbGVuZ3RoIGFycmF5cw0KPiBzaG91bGQgbm8gbG9uZ2VyIGJlIHVzZWRbMl0uDQo+ID4gPg0K PiA+ID4gQWxzbywgd2hpbGUgdGhlcmUsIHVzZSB0aGUgcHJlZmVycmVkIGZvcm0gZm9yIHBhc3Np bmcgYSBzaXplIG9mIGEgc3RydWN0Lg0KPiA+ID4gVGhlIGFsdGVybmF0aXZlIGZvcm0gd2hlcmUg c3RydWN0IG5hbWUgaXMgc3BlbGxl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