Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 194D4C38142 for ; Sat, 28 Jan 2023 22:35:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234874AbjA1Wf1 (ORCPT ); Sat, 28 Jan 2023 17:35:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjA1WfZ (ORCPT ); Sat, 28 Jan 2023 17:35:25 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA63B3A93 for ; Sat, 28 Jan 2023 14:35:23 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-113-5yLzffXWPLWbScFAP9AvvQ-1; Sat, 28 Jan 2023 22:35:20 +0000 X-MC-Unique: 5yLzffXWPLWbScFAP9AvvQ-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.45; Sat, 28 Jan 2023 22:35:20 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.045; Sat, 28 Jan 2023 22:35:20 +0000 From: David Laight To: 'Andy Shevchenko' CC: Andy Shevchenko , Kees Cook , "linux-kernel@vger.kernel.org" , Andy Shevchenko , "Rasmus Villemoes" , Andrew Morton Subject: RE: [PATCH v1 1/1] lib/string: Use strchr() in strpbrk() Thread-Topic: [PATCH v1 1/1] lib/string: Use strchr() in strpbrk() Thread-Index: AQHZMmcwwuoXGWmDc06Jaw4hqxFhbK6z5+FwgABYDACAACoagA== Date: Sat, 28 Jan 2023 22:35:19 +0000 Message-ID: References: <20230127155135.27153-1-andriy.shevchenko@linux.intel.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQW5keSBTaGV2Y2hlbmtvDQo+IFNlbnQ6IDI4IEphbnVhcnkgMjAyMyAxOTo1NQ0KPiAN Cj4gT24gU2F0LCBKYW4gMjgsIDIwMjMgYXQgNDo1MSBQTSBEYXZpZCBMYWlnaHQgPERhdmlkLkxh aWdodEBhY3VsYWIuY29tPiB3cm90ZToNCj4gPg0KPiA+IEZyb206IEFuZHkgU2hldmNoZW5rbw0K PiA+ID4gU2VudDogMjcgSmFudWFyeSAyMDIzIDE1OjUyDQo+ID4gPg0KPiA+ID4gVXNlIHN0cmNo cigpIGluc3RlYWQgb2Ygb3BlbiBjb2RpbmcgaXQgYXMgaXQncyBkb25lIGVsc2V3aGVyZSBpbg0K PiA+ID4gdGhlIHNhbWUgZmlsZS4gRWl0aGVyIHdlIHdpbGwgaGF2ZSBzaW1pbGFyIHRvIHdoYXQg aXQgd2FzIG9yIHBvc3NpYmx5DQo+ID4gPiBiZXR0ZXIgcGVyZm9ybWFuY2UgaW4gY2FzZSBhcmNo aXRlY3R1cmUgaW1wbGVtZW50cyBpdHMgb3duIHN0cmNocigpLg0KPiA+DQo+ID4gRXhjZXB0IHRo YXQgeW91IGdldCBhIHdob2xlIGxvYWQgb2YgY2FsbHMgdG8gc3RyY2hyKCkgZm9yICh0eXBpY2Fs bHkpDQo+ID4gd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