From patchwork Fri Jul 6 13:47:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 141324 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3136459ljj; Fri, 6 Jul 2018 06:48:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfnzyX/eexYQQUOpxgbV7wUXNWAfbkT5a9Prjter7Z5VU4RYsDYF5mWbtVzqjhiNTD7/XBn X-Received: by 2002:a62:f0d:: with SMTP id x13-v6mr9574410pfi.123.1530884881531; Fri, 06 Jul 2018 06:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530884881; cv=none; d=google.com; s=arc-20160816; b=lsAQJzQeCWxyozuU/7bKbcjALQF438Niji+Vvy4jr6srOCib/PmZrpK4pOiNFzDHgU 6GJ0EGBR1R5g0FPy4MzhpEcCwwrejyc9DZTBa9qmZp6ljbLyFhb9TjRWb9UN9kPTTTs2 OGsnGhpGfXRsgyylDgaHjQcds/H2AHKj/XaqOQYC+kdVwT/RLUXEUwPSnLFN29Z6TDtj aL8dQ0EF4qa6APV1/JHkOXftQwTUa9Jip7VYGR648fedhR48siBT5NqV10oijdSMd8+r XK7Xu4zS7zlJbOPmrBxxusQU/qq8kWMOnGiZhsHAGGsN396pHCPWWFo1XmMk7BIhhG/7 9mJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=teyHcl7DjZQEWgILq1LJL5Z/7K2NvrOWc/Bdg4+mXtA=; b=IKCNoIuW4fe6lKM9Ppvb3TTwU6QBk6f4bZtMCDCKtrVQUMmTf5s4KG5IxiW8issB2n ein2tg++YnrjbLl91BEG46aGGUvu/AtkLluqoeBi6EQP7hg+PZoAZUAICbaB1sp/Ns11 gNn/7cmf8EPblGCXqKNoKfOtGMWcx+tZqxJYhnYQNzg2kcIlPc1vIKQXcxEFzCsv01W3 HO79EtyIcZLijYjgxgo+cZSbJMG5F17UZGojD0zQdxcjrOiM+99UmBqOppW/0tYaUyYS 4BlCcHXc+UECoWuzNRi01K/wvztu/XFQS07i5hQMErIumABAVDzhitSHx8srg2+og2P1 4PWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l128-v6si1021761pfc.129.2018.07.06.06.48.01; Fri, 06 Jul 2018 06:48:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754068AbeGFNr7 (ORCPT + 31 others); Fri, 6 Jul 2018 09:47:59 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:51107 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753683AbeGFNr6 (ORCPT ); Fri, 6 Jul 2018 09:47:58 -0400 Received: from wuerfel.lan ([46.223.138.35]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M250t-1gPHc73QUt-00u5NK; Fri, 06 Jul 2018 15:47:40 +0200 From: Arnd Bergmann To: Petr Mladek , Andy Shevchenko , "Tobin C. Harding" , "Steven Rostedt (VMware)" , "Theodore Ts'o" , Sergey Senozhatsky Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] vsprintf: fix build warning Date: Fri, 6 Jul 2018 15:47:08 +0200 Message-Id: <20180706134724.563799-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:exFX8BkjFx9T5gFlSaeXLubJ36jutTdi6CjFVN55z46Flchw1jV +HBiBH4E+TwriMK9wd6dEApPzn0p9oQJ+IQLyG/KCXRLnIEnyM4XBa9nvql/OI8kpDzwQ+V hSs1PYOd3YPZWEN/WXMJeXaxg5NnIV5895Pmw5X53GwtGFzusdJna0Qf+G73hhG7Lest+Hp syaSyqJf1bb7+1V2HbLLA== X-UI-Out-Filterresults: notjunk:1; V01:K0:g+zjLP6kBBk=:qRTPbBj7qltEFi/6fnT1Sz oXlgLAWWbl9Btn6Iu2TmPY0YxjT7H1ybw4SUYVfMZt0fctycsQFqNmGrhPgKuyRkhS9XbcZo8 IyF2uRxPQsoNiaSsJuWcQDECO4vQhOJz0QUjy1K3RcoV+iGLLZlvgSUzNIwf4/W+nqZEXHLwN 2lrth3496ZnIYXhMkQ176qd+9zbzUfYellL3CmLmFIFEwK8IRlcsxHZYiNg/BgxV6lZqJY35h HiF2jssR3aXu5RM5QVdUl4biL/xmHFYvKkz6Occ+1U9voKa8zvSgGEGvHA5t/xUF/3A8s+4ov q29c9nxE+0x2dW7o4SLy8ZDKfPVlShbO0XZEOVLamxfQQ1XB//3/ZerQApNCmtHYQk4K0ESo9 p0eLocxBf2v7dsk1FQL2Uj9HrmbFlqjU3PDG8iok4LV1ROwML+hkVSkxFnUAye/UW+nu1deHr 3X5IfnQ3DCyhPVgAf0x2V+m4eM9Lj6COjHCKzeVlQ4b7y8VN5SqsnFJDFNet7wFy1Vl/juxcw 3sQj8G3vezVXQKW1IKEZrwURekl9OmTaXLAffwgBxePpQYxA/K+O5qqLd7eqcVjHOqNTXu/AR HBAdnRS9zR/aEXr0tMsIfPnJKgRQdguKZtB2zQx47ySJkPT+RKHoH99jecowYbhewQSSUr2mi Iv9QTEbWaauzxXRyEfWCzFviIw7DNqoAQdBvI8Lj5qz4WRRWXnd0KkW/TvpAVI4YOOFs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The have_filled_random_ptr_key variable was recently removed, but then reappeared with another patch, presumably after an incorrect rebase: lib/vsprintf.c:1668:13: error: 'have_filled_random_ptr_key' defined but not used [-Werror=unused-variable] This removes it again. Fixes: 85f4f12d5139 ("vsprintf: Replace memory barrier with static_key for random_ptr_key update") Fixes: bfe80ed3d7c7 ("vsprintf: add command line option debug_boot_weak_hash") Signed-off-by: Arnd Bergmann --- lib/vsprintf.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/lib/vsprintf.c b/lib/vsprintf.c index cdc2c355dff5..5fe18ac4d37c 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -1665,7 +1665,6 @@ static int __init debug_boot_weak_hash_enable(char *str) } early_param("debug_boot_weak_hash", debug_boot_weak_hash_enable); -static bool have_filled_random_ptr_key __read_mostly; static siphash_key_t ptr_key __read_mostly; static void enable_ptr_key_workfn(struct work_struct *work)