Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3193507rwd; Mon, 29 May 2023 07:03:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZnK/yHV8HFTTk5s1Id/thp+vhmjoJTZqB8mkOTf4UOVy6OMoMnQoKDoZIUt2956MOq2xP X-Received: by 2002:a05:6a20:12cc:b0:104:7454:d858 with SMTP id v12-20020a056a2012cc00b001047454d858mr9153326pzg.19.1685369023232; Mon, 29 May 2023 07:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685369023; cv=none; d=google.com; s=arc-20160816; b=hmcyKNgCSrNWgaXW36G0VibQaj/QPjAqVbnToB07leH6IZzC01LQNgx1fBNHVGkGMZ e0xpC0UlbHJpINQjj0poUk3hkLm/rU8SVBVyrnRxS2Y5ggK5+gxtJ2YIW/iNvm771zTY PTqAHf6f8VvuLzKopaOHHePOJbi1H5q3XMzASHaIpU9MpuS9crHg5KobqO+zLkDOCsXT dhZjyb3dmlRAX+Y8/i0UrE8NCtDdo0vEL+/GDuyMK7zDX8wjJh0R36xM1Yc1mMFeU/UH B3Iim+Yzrqq2B7Em3bcm5Ouu9Iz8b10QZXhKIbBtIGNAtEIP4Qxac1Gvml2ubYc95tDm yxEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=yHQitNFp3vdoiPj9IofQr5PU6/whlhPqH4xR3EO63cs=; b=a9QxYrksJetZGx6Be+5EYlfD4DH72M4GiFkYUUj2N1hh68LJ+05rzf4BUEwP6B8DPy iJt9D+4rXMRhdulXjWfzUW3q6RPrxX0MhM3u3T5yq/2LR4CPCYFARn3LFBHLGk21IuJb EMx3Fe1CNcPGb8YTQPOu01VgmagYjOx9OMjdUCTrlgzqflj+hUSam4pyUobfBEFRtnEd E/ROk80ihlYMIdYyCLwpS4s78qisqIBiChZBlMezahqCv614xVHKd/rML/zDj9+9Hl/i mehvHIjVsyPjfQTkC6xo1CSmIxjT2A65ZkUID4VpMLs24a3l8ofIGtOPgciIHjYTfM6a cnYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d187-20020a6336c4000000b00533fce755adsi595579pga.130.2023.05.29.07.03.28; Mon, 29 May 2023 07:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229845AbjE2NcQ (ORCPT + 99 others); Mon, 29 May 2023 09:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbjE2NcM (ORCPT ); Mon, 29 May 2023 09:32:12 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AFA3CF for ; Mon, 29 May 2023 06:32:09 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-16-wjxXWMCdOBeYCL4LasRi8Q-1; Mon, 29 May 2023 14:32:07 +0100 X-MC-Unique: wjxXWMCdOBeYCL4LasRi8Q-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 29 May 2023 14:32:02 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 29 May 2023 14:32:02 +0100 From: David Laight To: 'Jeffrey E Altman' , Kenny Ho CC: Andrew Lunn , Marc Dionne , Kenny Ho , David Howells , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , "linux-afs@lists.infradead.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] Remove hardcoded static string length Thread-Topic: [PATCH] Remove hardcoded static string length Thread-Index: AQHZjmnJx5LdtvUc0U+gvus5miHTlK9qs1lwgABJPoCAABjC4IADKDDLgAMCIaA= Date: Mon, 29 May 2023 13:32:02 +0000 Message-ID: <9ef0c93114814352877825321e9e2826@AcuMS.aculab.com> References: <20230523223944.691076-1-Kenny.Ho@amd.com> <01936d68-85d3-4d20-9beb-27ff9f62d826@lunn.ch> <5b1355b8-17f7-49c8-b7b5-3d9ecdb146ce@lunn.ch> <30d65ea9170d4f60bd76ed516541cb46@AcuMS.aculab.com> <81d01562a59a4fb49cd4681ebcf2e74a@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSmVmZnJleSBFIEFsdG1hbg0KPiBTZW50OiAyNyBNYXkgMjAyMyAxNjowOQ0KPiANCj4g T24gNS8yNS8yMDIzIDExOjM3IEFNLCBLZW5ueSBIbyB3cm90ZToNCj4gPiBPbiBUaHUsIE1heSAy NSwgMjAyMyBhdCAxMTowNOKAr0FNIERhdmlkIExhaWdodDxEYXZpZC5MYWlnaHRAYWN1bGFiLmNv bT4gIHdyb3RlOg0KPiA+Pj4gIlRoZSBzdGFuZGFyZCBmb3JtdWxhdGlvbiBzZWVtcyB0byBiZTog PHByb2plY3Q+IDx2ZXJzaW9uPiBidWlsdA0KPiA+Pj4gPHl5eXk+LTxtbT4tPGRkPiINCj4gPj4g V2hpY2ggSSBkb24ndCByZWNhbGwgdGhlIHN0cmluZyBhY3R1YWxseSBtYXRjaGluZz8NCj4gPj4g QWxzbyB0aGUgcGVvcGxlIHdobyBsaWtlIHJlcHJvZHVjaWJsZSBidWlsZHMgZG9uJ3QgbGlrZSBf X0RBVEVfXy4NCj4gPiBUaGF0J3MgY29ycmVjdCwgaXQgd2FzIG5vdCBtYXRjaGluZyBldmVuIHdo ZW4gaXQgd2FzIGludHJvZHVjZWQuICBJIGFtDQo+ID4gc2ltcGx5IHRha2luZyB0aGF0IGFzIHBl b3BsZSBjYXJpbmcgYWJvdXQgdGhlIGNvbnRlbnQgYW5kIG5vdCBzaW1wbHkNCj4gPiBtYWtpbmcg cnhycGNfdmVyc2lvbl9zdHJpbmcgPT0gVVRTX1JFTEVBU0UuICBUaGUgY3VycmVudCBmb3JtYXQg aXM6DQo+ID4NCj4gPiAibGludXgtIiBVVFNfUkVMRUFTRSAiIEFGX1JYUlBDIg0KPiA+DQo+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