Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3462107ybv; Tue, 25 Feb 2020 01:45:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwQJrvKxz+Ky44zIdLveV002d0sqDMaJbFh4BZqI0ULqKM/Mm2GRD/9/FA/yJXq2vHjDzj6 X-Received: by 2002:a05:6830:16c5:: with SMTP id l5mr44636194otr.165.1582623920377; Tue, 25 Feb 2020 01:45:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582623920; cv=none; d=google.com; s=arc-20160816; b=SxQz5BIoy+5/AlLrHcnn+dpFd6mts9N3qVlAFySZTzmz7u8pzY6xzI9ucBIR9Nw7vC tvEVvpl2fwhQNm1qrtn/RQaaYe5Qct+fUTZvtIuo0kaVj3L3mYhDvE3PglfLjgpLJdZ8 +uajqHSIbEL63E/c+s1EK4VPjTnxIP5N7XBSq4TL92gNiX53/pPXShW+IfTuQN8E6Lri grm3TPvd8nDc4CGHczw8xOsG0O+P/yZJqmErFOKHC93E2zXl5L2lnPzxhsUar8nDMBhs V2chYCOiSc7YuVgapZANk2pZIfGNx4IB9r9lsYePjgERVlzZ8lWe+4vQFlM2plq9Vv11 Yxlg== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=1lBGu5hzC+cEIuOG6iuNalKCB52KcLCVJG4qMANsd/w=; b=mtC/soxyvahMvjbJfvner/qfnx6OWW6gPEoXu8jWa0smv6L07UlmeuyCfO5Eiv6ygy 1LlBZ9e3vxUjDsHdv1yIEjKFWTuFxnQfi+OAAONAPcEXPQ7OsQFupjHAYT6H3LnCeoDt Shjs/AwlD1CicVQb+LJjnC2WG1oNJcQZ8FABrdgLwctWnzRY80JxQWYNTTbUtQw1vTvD Slf0ZGW7TX4LsxouoTY31ACDqrEH+5Sy3CzkM5qUY1vYDG5qv2d1DByIRC0iotwHlgdH V8B/8ivRJ/CPne0E+BLLbUPfing7UHAmfseozIxiazSDBoZMcFljqZCFNfEpfyaOqrcu zUyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j13si7169165otq.146.2020.02.25.01.45.08; Tue, 25 Feb 2020 01:45:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729510AbgBYJfc (ORCPT + 99 others); Tue, 25 Feb 2020 04:35:32 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:34742 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729130AbgBYJfc (ORCPT ); Tue, 25 Feb 2020 04:35:32 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-139-XFybLFxQPiu5Cqco6NpUCA-1; Tue, 25 Feb 2020 09:35:28 +0000 X-MC-Unique: XFybLFxQPiu5Cqco6NpUCA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 25 Feb 2020 09:35:28 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 25 Feb 2020 09:35:28 +0000 From: David Laight To: 'Nick Desaulniers' , Ian Rogers , Arnaldo Carvalho de Melo CC: Nick Desaulniers , Ingo Molnar , Peter Zijlstra , clang-built-linux , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Jin Yao , Changbin Du , John Keeping , Song Liu , LKML Subject: RE: [PATCH] perf: fix -Wstring-compare Thread-Topic: [PATCH] perf: fix -Wstring-compare Thread-Index: AQHV6tcUuLM+xYY6ZEGXR+PNFoTxX6gqgYIggABl+niAAL+1kA== Date: Tue, 25 Feb 2020 09:35:27 +0000 Message-ID: <7fe0ca3e6fb64ca59986584fffa824e6@AcuMS.aculab.com> References: <20200223193456.25291-1-nick.desaulniers@gmail.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTmljayBEZXNhdWxuaWVycw0KPiBTZW50OiAyNCBGZWJydWFyeSAyMDIwIDIyOjA2DQo+ IE9uIE1vbiwgRmViIDI0LCAyMDIwIGF0IDEwOjIwIEFNICdJYW4gUm9nZXJzJyB2aWEgQ2xhbmcg QnVpbHQgTGludXgNCj4gPGNsYW5nLWJ1aWx0LWxpbnV4QGdvb2dsZWdyb3Vwcy5jb20+IHdyb3Rl Og0KPiA+DQo+ID4gT24gTW9uLCBGZWIgMjQsIDIwMjAgYXQgODowMyBBTSBEYXZpZCBMYWlnaHQg PERhdmlkL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