From patchwork Wed Aug 7 03:45:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2839939 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EC48ABF535 for ; Wed, 7 Aug 2013 07:01:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB43420179 for ; Wed, 7 Aug 2013 07:01:51 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 95DFA20166 for ; Wed, 7 Aug 2013 07:01:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6ujn-0004HL-9R; Wed, 07 Aug 2013 03:48:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6uis-0001Ty-AT; Wed, 07 Aug 2013 03:47:42 +0000 Received: from mail-yh0-f41.google.com ([209.85.213.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6uhG-0001E8-BB for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 03:46:06 +0000 Received: by mail-yh0-f41.google.com with SMTP id b12so496593yha.0 for ; Tue, 06 Aug 2013 20:45:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4/0UIOwg73RtzbhLUl89S4IhtFcV4Kikc4t23abb60A=; b=HVA9oHftOjeW68SExirdbgHSAwhUoDNTV/SSHk3ki5bNQ3ybEYSAmOzOQFjTCoLaDl ijHX5Tt79lyPX33YUjVEPrPZ82o/UTZDY4fnzFDNLnlnHY8gkQyVNsU7KaWiHUqo/7Pp 65ADJIulVFe7Kv6RvASE9OSkNZ2Yg+bJfQiDwb2yhxyVBBfF+ywSS/mo35dU94InXSKf ZPd9VHDQ0oknGVV2hDjdOuhJeGyX8E7dOgLtf83tNgnrndeGaluAKgnWDjmLJU8g9EOJ IU0XNJ3ScviyUsxHzhkDSwt/aj0Lge44qLro3Iu8WOPEJCE42jORmb8YLwOuZHN8iiF2 2e4A== X-Gm-Message-State: ALoCoQlRIjdH1U5VFWsbCv6vhGOI5+R+TJMhkBtpOhqszT7MsJ4qIEOxv4/i4Y9ttENUvf9FUkeI X-Received: by 10.236.120.15 with SMTP id o15mr660126yhh.224.1375847141187; Tue, 06 Aug 2013 20:45:41 -0700 (PDT) Received: from rfranz-v430.caveonetworks.com (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id s65sm6814380yhs.14.2013.08.06.20.45.39 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 20:45:40 -0700 (PDT) From: Roy Franz To: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com, linux@arm.linux.org.uk Subject: [PATCH 14/17] resolve warnings found on ARM compile Date: Tue, 6 Aug 2013 20:45:10 -0700 Message-Id: <1375847113-24884-15-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1375847113-24884-1-git-send-email-roy.franz@linaro.org> References: <1375847113-24884-1-git-send-email-roy.franz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130806_234602_481246_F3C10E57 X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Roy Franz , dave.martin@arm.com, leif.lindholm@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 2 unused labels 1 "value computed is not used" Signed-off-by: Roy Franz --- drivers/firmware/efi/efi-stub-helper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/firmware/efi/efi-stub-helper.c b/drivers/firmware/efi/efi-stub-helper.c index bbe02fd..3515c3a 100644 --- a/drivers/firmware/efi/efi-stub-helper.c +++ b/drivers/firmware/efi/efi-stub-helper.c @@ -166,7 +166,6 @@ again: *addr = max_addr; } -free_pool: efi_call_phys1(sys_table_arg->boottime->free_pool, map); fail: @@ -242,7 +241,6 @@ static efi_status_t efi_low_alloc(efi_system_table_t *sys_table_arg, if (i == map_size / desc_size) status = EFI_NOT_FOUND; -free_pool: efi_call_phys1(sys_table_arg->boottime->free_pool, map); fail: return status; @@ -357,7 +355,7 @@ static efi_status_t handle_cmdline_files(efi_system_table_t *sys_table_arg, if (*str == '/') { *p++ = '\\'; - *str++; + str++; } else { *p++ = *str++; }