Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2786540imm; Tue, 4 Sep 2018 09:59:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbQ9o+zTB/ylqs414G2vxgIq2qNzSkxsqKJ6YKJTBAw9c4TifN1XE9mYYXqnYDPbtdU/vPl X-Received: by 2002:a17:902:1745:: with SMTP id i63-v6mr34340944pli.3.1536080387841; Tue, 04 Sep 2018 09:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536080387; cv=none; d=google.com; s=arc-20160816; b=nwVjsfoeJFhRzf9n3TW/b9A2i/C+XU1RgIUUYDt5vTdnrS34+wZQAPEPpFjOlaYcZ6 meDAa1JdCk04eDOhJ/KWEDmTZ6dg9OyItejavSOrjyM2hpXk7AZOrzX6gh+w9iYa2+3L AXwHrt0TXAEQBnP+OticN8yEieUlSSir95ixH/v0MkK61SVaDxdv2xZsa+cOTCAZkgLu 3N2tPWWozlLn3f8N90BOqLtVKrIcxSIKM7CKw78wF1XKA/2/gUZPdkhg+RMse31B5UmG fTLdMvHfvu3z5APf/84skQyeMWu6He7IjsqtH7e6w3uiLRFObdjyQtviWPwL4vpik+Mb Fo3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=WQFf6taefzciWoDofkCtPEp2enzeEeaQ6FbWpo2Wb7s=; b=EnjAKqdakl/F8hWH9Zysx0UCrV/al+4agrrwkXYtFOETJL3hHBa/JijGzr6aqkZHwa sNuHisgqQq+snMLHGTuSbcSRFgkBjsz3XWyQ8bZ8UaM+VwPS2VXo4QRl6LhWrm+9mAk2 XtZRkloOw3COV0V9ZlGv+ssrndmI/vRfTNI5YQ6W59TLt4hShhtWBoZO6JNqe+n6JMpQ oHn2e0m9zmJSvUvI0XEIStoeRW5x4Xx4Uef9toGLbROgTLuutTQ86j2JhorOJUdsqWFs PXj+JafVX308lGOYYlbyfT878r0msUTZGLbl3GgkzQO1/HTTGE9vMrzfEIPu4m2OgY1e 7t7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=A8MmLPf0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j21-v6si20761064pgl.8.2018.09.04.09.59.31; Tue, 04 Sep 2018 09:59:47 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=A8MmLPf0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727407AbeIDVYV (ORCPT + 99 others); Tue, 4 Sep 2018 17:24:21 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36972 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbeIDVYV (ORCPT ); Tue, 4 Sep 2018 17:24:21 -0400 Received: by mail-pg1-f196.google.com with SMTP id 2-v6so1965318pgo.4 for ; Tue, 04 Sep 2018 09:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WQFf6taefzciWoDofkCtPEp2enzeEeaQ6FbWpo2Wb7s=; b=A8MmLPf0aCuQJhQBJUhtzZp8pByHeRt6REV5hw5BaFvo0YGP6RgrZXGk9J1asReWk7 TvnFJkRDMAcKkNnUKvE28bgrr0Enz2U5DidxCDhmbHZ/xLJNxKcjfUsFItzGmJdSQ6gt aX5coPyZwi+FyZIp5Jspm4++bTsDVHOyEfiErQptlWxwvnRqmtvFrfOmG65EgnFguSJP lGWc5KhzqdGzMZnoMKvIKxiH2eoPzW3ZXgDRDhJlFuXGy9NQMoEjcPlGafbO+HsY+geS nNSH+ceRuS10659WM3osiN2oZuRth8WqUH3eOumEdZg7SQw7Pd6pNLJegfbzllMmiZMZ Q2hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WQFf6taefzciWoDofkCtPEp2enzeEeaQ6FbWpo2Wb7s=; b=C9jPon5BnvGU9/zOvxETD6TDNApRmHxQCNp6Bhd5/+8fNuw1hK8wxczw/mVo3QaTGT T5hmNT7qXhXJGi+DFCknw28PYzKJ97ePrFmZTfliC4oIzQ+w9NSHND5lVDQcXLXHTUNG xyiFCJWpowSCyvOkfLgn1jbhdgWffs9gFlCQyj9yHBDj9u7q4UDjIJCkpveWjpRU8ZXv 0rDU+TQDvCkVci95QvEQ3UzuNh894uCPkLwT5myuyXv4HZ+9FjYJrHNT/iB9AljhtT+f v1sCPfuWT6R0uyvIV1I5K9M2PkE04GBD+VOh0w8bjWTb8wBhKrF75giF09X8arBEcYSy uA8A== X-Gm-Message-State: APzg51DD1WXP75+pCk0mBZPhjws4MucvTxFAECFGl6sN0muqbwVcHcLm XQAN+nxl8cXyv8DGsSC21f7RE2Jv8NKZAiHf21bggVDe6QM= X-Received: by 2002:a62:d1b:: with SMTP id v27-v6mr34964668pfi.87.1536080302642; Tue, 04 Sep 2018 09:58:22 -0700 (PDT) MIME-Version: 1.0 References: <20180903203316.16183-1-miguel.ojeda.sandonis@gmail.com> <20180903203316.16183-11-miguel.ojeda.sandonis@gmail.com> In-Reply-To: <20180903203316.16183-11-miguel.ojeda.sandonis@gmail.com> From: Nick Desaulniers Date: Tue, 4 Sep 2018 09:58:11 -0700 Message-ID: Subject: Re: [PATCH 10/12] Compiler Attributes: KENTRY used twice the "used" attribute To: Miguel Ojeda Cc: Linus Torvalds , LKML , Rasmus Villemoes , luc.vanoostenryck@gmail.com, efriedma@codeaurora.org, sparse@chrisli.org, Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Greg KH , Masahiro Yamada , joe@perches.com, asmadeus@codewreck.org, linux-sparse@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 3, 2018 at 1:34 PM Miguel Ojeda wrote: > > Cc: Rasmus Villemoes > Cc: Luc Van Oostenryck > Cc: Eli Friedman > Cc: Christopher Li > Cc: Kees Cook > Cc: Ingo Molnar > Cc: Geert Uytterhoeven > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: Masahiro Yamada > Cc: Joe Perches > Cc: Dominique Martinet > Cc: Nick Desaulniers > Cc: Linus Torvalds > Cc: linux-sparse@vger.kernel.org > 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 > > -- > 2.17.1 > Reviewed-by: Nick Desaulniers -- Thanks, ~Nick Desaulniers