From patchwork Thu Sep 20 17:22:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miguel Ojeda X-Patchwork-Id: 10608295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 234DE15E8 for ; Thu, 20 Sep 2018 17:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B3DE2E283 for ; Thu, 20 Sep 2018 17:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2A492E29A; Thu, 20 Sep 2018 17:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF7812E283 for ; Thu, 20 Sep 2018 17:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727556AbeITXIO (ORCPT ); Thu, 20 Sep 2018 19:08:14 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44024 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732794AbeITXIN (ORCPT ); Thu, 20 Sep 2018 19:08:13 -0400 Received: by mail-wr1-f66.google.com with SMTP id k5-v6so10196989wre.10; Thu, 20 Sep 2018 10:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+3J6L7h/sEn5CncGiCzMXe2W5FPwQDjmK1q81IjlWiU=; b=Wm9PColhFrOz4RV32gXm1loYa4k8jnr1YsSZUSKunLS7oNcmlChMIi67t/cNvqUDu6 pQDF9jzqrBW2wX5R8yMqzYrnREQCWhXLhe/k3dMROyfsz0uCL3RVNgQAVPuo/She14bn jHpFneo0IeU03rrK0qMPYYWKKa3eAQjLWtSkIocJeH1MiKTrmHD3M1EF9oqcqULsE1hD yMEmf+G3aljK6TpfoELbFr850gTrZ9qkvA7e5sng79mz2A1FbsjMOzDrO8pv3xzGMcs5 Tvy/jj/P5TZSG4sS6CpDn+kFfQxKV8maitnFgqA3PTy2uDvscNAaZ6lDCWmu1iBE0k/E W9Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+3J6L7h/sEn5CncGiCzMXe2W5FPwQDjmK1q81IjlWiU=; b=DDj1P5Fz0oMPg72yRvbRNT/6DOI1qEKAhrr6wURjV3lBjgUTRhSMoYddnGWw28dEsZ I8j/lpsbDR9Laa6Th596EswlAhyAsYutM3v/uxdl5tvMdkBB4BWbNwKBrzh9txQRitaY 2yr0A3srFchtfdv024TX1W3lAWTNBJyfhgvz6rMm4L6clPQhErYC2HdlezIKaPOv/59L 86cbWyO/w1MT/pBciD4UuZ2+jOaTSOhgP/udY6KHVAa73C3c5NVrsT37xZ98nI5k/LN/ TKqi8h1Was55IFsL4D37WzJgTMgHrHkgFhB7zcPv0z0Rrnw3S/4H8IzW2LEgqujYz1iG GhgQ== X-Gm-Message-State: APzg51DRdnuvUSNa8n+/sHjNDhu6OvBgAepMraddSnpzetDwGsWcPtlP S23QcZZjBuo9HZVH6bGXf8w= X-Google-Smtp-Source: ANB0VdZJwXFX2HiJwO4YDTcGI8p9jybt5IMb4nZGDkX3uwjShn0jVZFVVvihNZlH7IrJYUvbeG+j8g== X-Received: by 2002:adf:fe06:: with SMTP id n6-v6mr35098498wrr.171.1537464221923; Thu, 20 Sep 2018 10:23:41 -0700 (PDT) Received: from localhost.localdomain (62.83.35.8.dyn.user.ono.com. [62.83.35.8]) by smtp.gmail.com with ESMTPSA id q200-v6sm3466562wmd.2.2018.09.20.10.23.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 10:23:41 -0700 (PDT) From: Miguel Ojeda To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Miguel Ojeda , Andreas Dilger , Masahiro Yamada , Michal Marek , Steven Rostedt , Mauro Carvalho Chehab , Olof Johansson , Konstantin Ryabitsev , "David S . Miller" , Andrey Ryabinin , Kees Cook , Thomas Gleixner , Ingo Molnar , Paul Lawrence , Sandipan Das , Andrey Konovalov , David Woodhouse , Will Deacon , Philippe Ombredanne , Paul Burton , David Rientjes , Willy Tarreau , Martin Sebor , Christopher Li , Jonathan Corbet , Theodore Ts'o , Geert Uytterhoeven , Rasmus Villemoes , Joe Perches , Arnd Bergmann , Dominique Martinet , Stefan Agner , Luc Van Oostenryck , Nick Desaulniers , Andrew Morton , Linus Torvalds , linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH v5 08/15] Compiler Attributes: KENTRY used twice the "used" attribute Date: Thu, 20 Sep 2018 19:22:54 +0200 Message-Id: <20180920172301.21868-9-miguel.ojeda.sandonis@gmail.com> In-Reply-To: <20180920172301.21868-1-miguel.ojeda.sandonis@gmail.com> References: <20180920172301.21868-1-miguel.ojeda.sandonis@gmail.com> Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: Nick Desaulniers Reviewed-by: Luc Van Oostenryck Signed-off-by: Miguel Ojeda --- include/linux/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 4030a2940d6b..17ee9165ca51 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, extern typeof(sym) sym; \ static const unsigned long __kentry_##sym \ __used \ - __attribute__((__section__("___kentry" "+" #sym ), used)) \ + __attribute__((__section__("___kentry" "+" #sym ))) \ = (unsigned long)&sym; #endif