From patchwork Fri Aug 9 23:26:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2842258 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D6A819F294 for ; Fri, 9 Aug 2013 23:31:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 04A1720373 for ; Fri, 9 Aug 2013 23:31:27 +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 0CC7F20365 for ; Fri, 9 Aug 2013 23:31:26 +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 1V7w8A-00029O-Un; Fri, 09 Aug 2013 23:30:04 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7w7D-0003o3-Da; Fri, 09 Aug 2013 23:29:03 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7w5O-0003ZW-T8 for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2013 23:27:12 +0000 Received: by mail-pd0-f178.google.com with SMTP id w10so1141751pde.37 for ; Fri, 09 Aug 2013 16:26:49 -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=zJNrEURNLVtnA4q4+s/qE5r4Do7uTFdl09gE499hHwc=; b=N1gHL1rspiDZAwLJpuEl/W9e3oM6MCpTuBxlSeMa5R8qiohiPu6WRoWRjmJn+LbEkv dOiObhZ73nS6e4x9ZhqRf6p6yDnkJf53VB32Av02AlU4wBR3RfUc5yRccB0MFzkq35ip Ay4x8W/G8RSpsOLR7GIw/lcAeRtouQPGYe+SXajBsOC169D0fn/dLXEJ434DXRFb75KQ e6Q4az+ofIT83vFWzJp8cldbWkwPQ0Fexq4F258/Z+7HNhXneUyCJ5/e0iSRGBKyS6Bc OaIZDS5YgvovBpVCgZ9dM5anHijlF2U+NlTjuQYTK0a7iKPvjHHn1FlkHGRtpTfLQHOY IqdA== X-Gm-Message-State: ALoCoQneGQJsv8OWn73tjG4Kbzs8vGxXy7s/KwdJ5k+icQsKE+bS97Is7fyGmsrcnnsCMqANY5OQ X-Received: by 10.66.164.1 with SMTP id ym1mr3026770pab.28.1376090809239; Fri, 09 Aug 2013 16:26:49 -0700 (PDT) Received: from rfranz-i7.local (c-24-10-48-230.hsd1.ca.comcast.net. [24.10.48.230]) by mx.google.com with ESMTPSA id ue9sm24823913pab.7.2013.08.09.16.26.47 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 16:26:48 -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 13/16] resolve warnings found on ARM compile Date: Fri, 9 Aug 2013 16:26:14 -0700 Message-Id: <1376090777-20090-14-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1376090777-20090-1-git-send-email-roy.franz@linaro.org> References: <1376090777-20090-1-git-send-email-roy.franz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130809_192711_078628_7F51E9D9 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Roy Franz , dave.martin@arm.com, leif.lindholm@linaro.org, msalter@redhat.com 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 Acked-by: Mark Salter --- 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 4bb542f..3e82cb0 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++; }