>From acme Thu May 29 22:31:47 2014 Delivered-To: arnaldo.melo@gmail.com Received: from gmail-imap.l.google.com [74.125.131.109] by zoo.ghostprotocols.net with IMAP (fetchmail-6.3.26) for (single-drop); Thu, 29 May 2014 22:31:47 -0300 (BRT) Received: by 10.170.63.135 with SMTP id f129csp73227ykf; Thu, 29 May 2014 17:54:50 -0700 (PDT) X-Received: by 10.66.148.98 with SMTP id tr2mr13825805pab.33.1401411289441; Thu, 29 May 2014 17:54:49 -0700 (PDT) Return-Path: Received: from mail.kernel.org (mail.kernel.org. [198.145.19.201]) by mx.google.com with ESMTP id we6si3163030pac.143.2014.05.29.17.54.49 for ; Thu, 29 May 2014 17:54:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning zhangdianfang@huawei.com does not designate 198.145.19.201 as permitted sender) client-ip=198.145.19.201; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning zhangdianfang@huawei.com does not designate 198.145.19.201 as permitted sender) smtp.mail=zhangdianfang@huawei.com Received: by mail.kernel.org (Postfix) id E533120142; Fri, 30 May 2014 00:54:48 +0000 (UTC) Delivered-To: acme@kernel.org Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3937E2035E for ; Fri, 30 May 2014 00:54:48 +0000 (UTC) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [119.145.14.66]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88E0D20142 for ; Fri, 30 May 2014 00:54:43 +0000 (UTC) Received: from 172.24.2.119 (EHLO szxeml207-edg.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id API05293; Fri, 30 May 2014 08:54:04 +0800 (CST) Received: from SZXEML422-HUB.china.huawei.com (10.82.67.161) by szxeml207-edg.china.huawei.com (172.24.2.56) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 30 May 2014 08:54:02 +0800 Received: from [127.0.0.1] (10.177.27.190) by szxeml422-hub.china.huawei.com (10.82.67.161) with Microsoft SMTP Server id 14.3.158.1; Fri, 30 May 2014 08:53:59 +0800 Message-ID: <5387D6A6.20703@huawei.com> Date: Fri, 30 May 2014 08:53:58 +0800 From: zhangdianfang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Peter Zijlstra CC: Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , David Binderman , Jean Delvare Subject: [PATCH] toosl/perf: convert "==" into "=" Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.27.190] X-CFilter-Loop: Reflected X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Status: RO convert "==" into "=" Bug description: https://bugzilla.kernel.org/show_bug.cgi?id=76751 Cc: Jean Delvare Reported-by: David Binderman Signed-off-by: Dianfang Zhang --- tools/perf/ui/browser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/perf/ui/browser.c b/tools/perf/ui/browser.c index d11541d..3ccf6e1 100644 --- a/tools/perf/ui/browser.c +++ b/tools/perf/ui/browser.c @@ -194,7 +194,7 @@ int ui_browser__warning(struct ui_browser *browser, int timeout, ui_helpline__vpush(format, args); va_end(args); } else { - while ((key == ui__question_window("Warning!", text, + while ((key = ui__question_window("Warning!", text, "Press any key...", timeout)) == K_RESIZE) ui_browser__handle_resize(browser); -- 1.7.1