Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1159147ybz; Thu, 16 Apr 2020 04:08:23 -0700 (PDT) X-Google-Smtp-Source: APiQypJam8NuCmwLJNi+1Ydmyft16QzZUkx00v581QOkA0sBQTfzuXQp4YN6A1sZYmRsy3+We+N0 X-Received: by 2002:a17:906:4553:: with SMTP id s19mr8993835ejq.295.1587035303680; Thu, 16 Apr 2020 04:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587035303; cv=none; d=google.com; s=arc-20160816; b=OXOMSYCqA/sQMfJUcsdHpsaDHs4zs8YLrsMO6IFP6gVNnHItBdQXytYUEFrLKjE8mL Td+jijfRCq+54QTIbhLpsAoju5dpyZBmGzH3SzvN5JEBbJ6G9TMKZKLPBT72Ce4oSsRh lTcmIYNgX7p8gZ3IwAGtuXa4GVkyTkp+vxV4H3Esj/dIe7gTf0zMM+2jcbeBMe1mCn/m NpaMD8iloi6EqxQWqQqcyvkdkjWm/uESh1VUcfQZuprgd7sBYFEUpBIU6D7D6mRCNUt8 SUUnodGqRS2xkNW0bWcRcoNfxkdgltmFNCz9o0Isuu42wgn989fWJ5+PswH60fNjtVNZ itpw== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=3Xrww6NCtacYXPVQbDXnDHm0BVJOOW7VXgNGSCzDgls=; b=OVDpgD4z9Rg848dfdz8SKbPdWbFh0U9V9sKztpKC/EFhuLYXWCIXZ8HRGFTglpvDmE tQW3A//ud2Dg6tNfO4Jd6gRzns4gv4m0dp2us/2u5ZeX+nfZmm/UrfvTSxJzYJUEjXZ6 gqDytETdbN4QM6aYmxhj0cOAaTDfksfoMdwytXXdoHQiYmTCRE9rBp6eNeYq5d6amCAp 65HOB3qYWtaiJZbXXEeoCUbHRKIctrs72QxBKJD+Ph3MCf96UtpDbuzFeywUNm2Y/eCE +VVbDWnbL44Forjcx3Nu+vvPzCyHb1+7C6L913gV5/JSyRNXasuRexqN+TGPmt53MgVZ 3Bng== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si12691408edt.338.2020.04.16.04.08.01; Thu, 16 Apr 2020 04:08:23 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505763AbgDPLGA (ORCPT + 99 others); Thu, 16 Apr 2020 07:06:00 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2057 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2505994AbgDPLBs (ORCPT ); Thu, 16 Apr 2020 07:01:48 -0400 Received: from dggeml405-hub.china.huawei.com (unknown [172.30.72.56]) by Forcepoint Email with ESMTP id 7070F6156CB31EE8123A; Thu, 16 Apr 2020 18:45:18 +0800 (CST) Received: from DGGEML524-MBX.china.huawei.com ([169.254.1.24]) by dggeml405-hub.china.huawei.com ([10.3.17.49]) with mapi id 14.03.0487.000; Thu, 16 Apr 2020 18:45:12 +0800 From: "Zouwei (Samuel)" To: Andrew Morton CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?tPC4tDogW1BBVENIIC1uZXh0XSBtbS91c2VyY29weTogZml4IHdhcm5pbmcg?= =?gb2312?Q?Comparison_to_bool?= Thread-Topic: [PATCH -next] mm/usercopy: fix warning Comparison to bool Thread-Index: AQHWEg3NM5G3b6CdWkWVy/pKazaWX6h6SkKAgAFHhdA= Date: Thu, 16 Apr 2020 10:45:12 +0000 Message-ID: References: <1586835724-45738-1-git-send-email-zou_wei@huawei.com> <20200415160439.256c89d4cb67b76d4119935d@linux-foundation.org> In-Reply-To: <20200415160439.256c89d4cb67b76d4119935d@linux-foundation.org> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.166.212.180] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcmV3LA0KDQpUaGFua3MgZm9yIHlvdXIgcmVwbHkuDQpQZXJoYXBzIHRoaXMgaXMgYSBk ZXRlY3Rpb24gcnVsZSBvZiBDb2NjaW5lbGxlIChjb2NjaWNoZWNrKSBzb2Z0d2FyZSBmb3IgcHJv Z3JhbW1pbmcgc3BlY2lmaWNhdGlvbnMsDQphbmQgaXQncyBubyB3cm9uZyB3aXRoIHRoZSBjb2Rl LCBqdXN0IGEgY29kaW5nIHN0eWxlLg0KDQpCZXN0IFJlZ2FyZHMNClpvdSBXZWkNCi0tLS0t08q8 /tStvP4tLS0tLQ0Kt6K8/sjLOiBBbmRyZXcgTW9ydG9uIFttYWlsdG86YWtwbUBsaW51eC1mb3Vu ZGF0aW9uLm9yZ10gDQq3osvNyrG85DogMjAyMMTqNNTCMTbI1SA3OjA1DQrK1bz+yMs6IFpvdXdl aSAoU2FtdWVsKSA8em91X3dlaUBodWF3ZWkuY29tPg0Ks63LzTogbGludXgtbW1Aa3ZhY2sub3Jn OyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnDQrW98ziOiBSZTogW1BBVENIIC1uZXh0XSBt bS91c2VyY29weTogZml4IHdhcm5pbmcgQ29tcGFyaXNvbiB0byBib29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