From patchwork Mon Aug 29 12:40:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101906 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1612044qga; Mon, 29 Aug 2016 05:41:05 -0700 (PDT) X-Received: by 10.66.4.41 with SMTP id h9mr23271370pah.69.1472474465698; Mon, 29 Aug 2016 05:41:05 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i29si39127401pfa.172.2016.08.29.05.41.05; Mon, 29 Aug 2016 05:41:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757174AbcH2MlE (ORCPT + 1 other); Mon, 29 Aug 2016 08:41:04 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:63083 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757137AbcH2MlD (ORCPT ); Mon, 29 Aug 2016 08:41:03 -0400 Received: from wuerfel.lan. ([176.5.99.91]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0Ldhch-1bEsoz3BEh-00j3wV; Mon, 29 Aug 2016 14:40:51 +0200 From: Arnd Bergmann To: Herbert Xu Cc: Arnd Bergmann , "David S. Miller" , Martin Schwidefsky , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] crypto: hide unused label Date: Mon, 29 Aug 2016 14:40:43 +0200 Message-Id: <20160829124050.3405624-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:TAXWGgtuzFWAF4ZlbVu5x6nD6fzXROptE+1th1KXyVSXVn1V4zQ /w8urZVQu1QLtvEbzFc+7DqYW+ztKGvJWwcQyC4RCeT2OWltV2l+k+bBdDYf5NIQ5/LO7lP Rhtx/F0NNjP+hVhkIh35RqGB5UFA+Q5flvP6+nkXaGGV3qC8UihD1IYfp6ctFMtLfV1Z+ss 8qUmc5WVEEQmFgMM0Ik1w== X-UI-Out-Filterresults: notjunk:1; V01:K0:pV/zvmO59oo=:MZAKpF+XHFQwScYqWMP4nK 42fVjAkar0h+bV7vPFSMaInXxdSYDk1aXxf1HofzgK5J38Mb/eUHh695IbinBQA8V/RBJ1vBo 5hPha+aMSrqHX5pctF/9YX0fA5ZKVw2HMfeMIE5Mfy1URqmEZWU1KJgde3gYVlJYueXFK7h/7 /GKezCIhIDst9xi6nuSe9HBhxkQe86s1GWPy0QKLbVV3gEJmcp30BjceCzraSiZFGCKJHbg6J VE46303YyoGWwNOJByEz8oOltnpsSxt4HZdmEuc27JuuTbG4H6vu5vkHydd+EXOoClY/+/jDR +oE8RjZXPJ6jTPmF6NjJpOJrcn7J4hHcgf3SsRmd5lRCFLI74g3aTcN4ZIOZxDwVNFeMP7uQJ By8gwWPCab+qoknxzD5EdcuglIdFGAUk21gm9OR9RRanGl93aDs7RU0jf4Zoa0yfWzk45uuSO 0xY4XESVdCaDG68tqrrcW1UcyOwzVpX1nulI9/zAPgVrVwkBxlqf2uRyyDG+7kJt5wbo+F9Tj ViZ3P6jwdT7t145FLMQiWNhkPtsglZZ3XLT2uMoV7BgUumBmD8NgynXtfV2G9VYr68m7cyatC NyaZGuSOh+mbigOFHhld3vTMxeTLS2Qw09ttx2KQut9SJ3YEf5/UYPlt62PRcBiCBE/jr/Pl5 jC4E+9LUFL9qQdJH7v77AHhkHjNBHPQNW6YlHtn6PhAyoccOi1sRl3jPZnL94UXJ36D8= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org A recent change left an existing label unused in some configurations, as seen from a gcc warning: crypto/xor.c: In function 'calibrate_xor_blocks': crypto/xor.c:156:1: error: label 'out' defined but not used [-Werror=unused-label] This adds an #ifdef around it to match the one around the respective "goto". Signed-off-by: Arnd Bergmann Fixes: 39457acda913 ("crypto: xor - skip speed test if the xor function is selected automatically") --- v2: add proper changelog, sorry for missing that at first. --- crypto/xor.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/crypto/xor.c b/crypto/xor.c index b8975d92cd94..1817015381ef 100644 --- a/crypto/xor.c +++ b/crypto/xor.c @@ -153,7 +153,9 @@ calibrate_xor_blocks(void) #undef xor_speed free_pages((unsigned long)b1, 2); +#ifdef XOR_SELECT_TEMPLATE out: +#endif active_template = fastest; return 0; }