From patchwork Tue Jun 3 20:36:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Olsa X-Patchwork-Id: 31338 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9B492203AC for ; Tue, 3 Jun 2014 20:37:07 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id l6sf38441129oag.7 for ; Tue, 03 Jun 2014 13:37:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Mry+6KPufRSXnxqHDEcrPZIkxAxbHzJ1noio+C45bbo=; b=L9AmhkV032Jwl/5nZfigUoipEC2PW0d96ctybvUclwtnS1Zj2ziP7WWTht+ucYaRg6 QyG1qm96sgBI2l1wNlgYzweVTEYgfihW6XSimbsbynDRIgcaMF6rP2dp4xZYN38DEJA3 BBi7C/GdF0Z2mgW3ba6KnIMF8glnYKiVn9qb0nEZsp2sFl7vy2QU3JAdDVEYCLbuyvok 0JDK1kHG8lR00qpbW20zdLUrnqKBfzUp59dCegZMfgbYQpt6YMYYDHYq/L24g8FoUURw 4HUVc0z0OvpTW6/T+WofH763uBU7rBOsCxHCWVV7hwhRQ2Y1UE3KKJt1ejPhD8QMvPcs cUMw== X-Gm-Message-State: ALoCoQnMq98sgRu3pZkopMZ3A8rq6ZyeE5vLED5bBtpvgagiZ5c5p21ITpPCxL2UzbVBokNHaYyV X-Received: by 10.42.136.1 with SMTP id r1mr7343889ict.24.1401827827012; Tue, 03 Jun 2014 13:37:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.240 with SMTP id j103ls2703663qgd.47.gmail; Tue, 03 Jun 2014 13:37:06 -0700 (PDT) X-Received: by 10.220.176.68 with SMTP id bd4mr3577991vcb.70.1401827826875; Tue, 03 Jun 2014 13:37:06 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id ir5si195461vcb.82.2014.06.03.13.37.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 13:37:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ij19so2960581vcb.2 for ; Tue, 03 Jun 2014 13:37:06 -0700 (PDT) X-Received: by 10.58.2.74 with SMTP id 10mr4229311ves.61.1401827826698; Tue, 03 Jun 2014 13:37:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp23680vcb; Tue, 3 Jun 2014 13:37:06 -0700 (PDT) X-Received: by 10.68.173.65 with SMTP id bi1mr54906118pbc.130.1401827825691; Tue, 03 Jun 2014 13:37:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dk1si586351pbb.213.2014.06.03.13.37.05; Tue, 03 Jun 2014 13:37:05 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933860AbaFCUgl (ORCPT + 27 others); Tue, 3 Jun 2014 16:36:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37336 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933533AbaFCUgi (ORCPT ); Tue, 3 Jun 2014 16:36:38 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s53KaXds030549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Jun 2014 16:36:33 -0400 Received: from krava.brq.redhat.com (dhcp-1-141.brq.redhat.com [10.34.1.141]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s53KaHXT025865; Tue, 3 Jun 2014 16:36:31 -0400 From: Jiri Olsa To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, zhangdianfang , Jean Delvare , Jiri Olsa Subject: [PATCH 5/9] perf tools: Fix "==" into "=" in ui_browser__warning assignment Date: Tue, 3 Jun 2014 22:36:12 +0200 Message-Id: <1401827776-4443-6-git-send-email-jolsa@kernel.org> In-Reply-To: <1401827776-4443-1-git-send-email-jolsa@kernel.org> References: <1401827776-4443-1-git-send-email-jolsa@kernel.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: zhangdianfang Convert "==" into "=" in ui_browser__warning assignment. Bug description: https://bugzilla.kernel.org/show_bug.cgi?id=76751 Reported-by: David Binderman Signed-off-by: Dianfang Zhang Acked-by: Arnaldo Carvalho de Melo Cc: Jean Delvare Link: http://lkml.kernel.org/r/20140530154709.GC1202@kernel.org [ changed the changelog a bit ] Signed-off-by: Jiri Olsa --- tools/perf/ui/browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);