Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2594778ybv; Mon, 24 Feb 2020 08:04:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxKxwKaFQqUsrWYVY0IqLbzylz+gkPilGYBCqHKzB6RABF3P7GZ1QYRdvDkXAkWM413/lcV X-Received: by 2002:a05:6808:64d:: with SMTP id z13mr13053054oih.104.1582560273585; Mon, 24 Feb 2020 08:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582560273; cv=none; d=google.com; s=arc-20160816; b=00UcZgJRkO/H0hhcadF+FE3ySbKNlYJUpyeaXFLB5p1Otf2q8FYBlwJasknGLAvX65 bQpmIG9OGCuuTkkEtk+g/nuGUyH2B3/OItnm5DgA3mR6fXoTJVGbz2mAsaN6XoVvrAWV wdK/ucuVAIIJB0Elw7Ok+ZBd2Ga1JF9jc8qrYaulILBkZbDIj2uEYN6CPwcqNZUJSJS7 Flu/YMCADGtBoWORaEKKPqx6nrekEEs68yOjmDqVuJmli+jBtzX36cb/kbW6Sh20XHh+ BnPUjjD9Du7PO3saUtxLJEg20+RMo1eQi41aYA74VcpAD3T3LwhvXrNi65YdelV9HETT SrVw== 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=+IUasr3t1M/edqD6LJ3XMpCzpaXdmf+2nxXzlhjqwRk=; b=B3KNkHg1U/z/u9UR/8z6xSZ8885BsJuZsjMdBA5bYGSzZ6N8zhMwWxvAzvqKIMFFSu Yu3XlpzLoGk0C88lEnHgKl2i5u+w6bj4N/jWUNKasPeNhzhdByBgkoGVMQ5DHtYu58wz XrOFlkUMbWXt0WTSK0CnkyldRLjD4L+oOy1uKReonezC8SFA9zhLCdhsHB3NOFZXkAEs Aepx1dXcXndFqjViDRsCL557LxD37RlEpFeZ1IculBti6XNMG8Wyq5V1LbzEqLPi5pnY QC0LZrJNA9O/cqepLYcnFhbAV3rf5zHo8LAjGvXaFSi0ZLLf0MAEJo9DbaR7SCLkRDQL KPFQ== 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 j143si5678790oib.16.2020.02.24.08.04.20; Mon, 24 Feb 2020 08:04:33 -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 S1727627AbgBXQDr (ORCPT + 99 others); Mon, 24 Feb 2020 11:03:47 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:43260 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbgBXQDr (ORCPT ); Mon, 24 Feb 2020 11:03:47 -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-165-GCRGvgq5PuayjL5fff0xdw-1; Mon, 24 Feb 2020 16:03:25 +0000 X-MC-Unique: GCRGvgq5PuayjL5fff0xdw-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; Mon, 24 Feb 2020 16:03:24 +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; Mon, 24 Feb 2020 16:03:24 +0000 From: David Laight To: 'Ian Rogers' , Nick Desaulniers CC: Arnaldo Carvalho de Melo , 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+PNFoTxX6gqgYIg Date: Mon, 24 Feb 2020 16:03:24 +0000 Message-ID: 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 RnJvbTogSWFuIFJvZ2Vycw0KPiBTZW50OiAyNCBGZWJydWFyeSAyMDIwIDA1OjU2DQo+IE9uIFN1 biwgRmViIDIzLCAyMDIwIGF0IDExOjM1IEFNIE5pY2sgRGVzYXVsbmllcnMNCj4gPG5pY2suZGVz YXVsbmllcnNAZ21haWwuY29tPiB3cm90ZToNCj4gPg0KPiA+IENsYW5nIHdhcm5zOg0KPiA+DQo+ ID4gdXRpbC9ibG9jay1pbmZvLmM6Mjk4OjE4OiBlcnJvcjogcmVzdWx0IG9mIGNvbXBhcmlzb24g YWdhaW5zdCBhIHN0cmluZw0KPiA+IGxpdGVyYWwgaXMgdW5zcGVjaWZpZWQgKHVzZSBhbiBleH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