Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1032594imm; Sat, 8 Sep 2018 14:27:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZs9XHX23BEkhs491TJBCJEL8dubQ3KeQZ1h7a43KrR+loH3ntukxnrJVh7meEP87ICImHe X-Received: by 2002:a65:4b88:: with SMTP id t8-v6mr15085159pgq.239.1536442042829; Sat, 08 Sep 2018 14:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536442042; cv=none; d=google.com; s=arc-20160816; b=H2Xo/zH5iEq9Tf1RqPqVcMTiXcMeTNa4RHaEOLIsSb8alUHFe2FE6xmHvyfZ5gHQUu Qaf7cCl1vuuB0BUtFYL1UL2ktJo6x+pj1H+0qrGwlogsWiDCrnSNBlIbig+Rh3C0zkRT Y0WUOkYyg3AL25Uo/1NxKHrzAXVCWAnYe8VADFBAsPysZ1vQujtv/c6xRYw9D6dxgTvH 7mJU6wGrsr2Vh3nrb9OVxqn2x9fiLEvu8n/yTumuEfywXRi83zyCYvCB5jUbtu8UPH3q KZ2fcDiTSRqCQwm5iLSwe5BrR3Cp/+7mcWeIblfgusWA02xW9VzEumGmhWIh3dvWX9Il Pz2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=QLWoO95oaoANsEnjgjtYxDXeyWdMYaJIHZZCQ0x3jE0=; b=HwbjfXsr1OHlbJAbg4eOsQoEvChfuayV3X09TR7kfZGrmL/yb4FMBAh2if7y7oQ76u MG2iJK9hDEseklTxMlXGTmuzHLSHt9ZvqHY1qxD1+FdJacJ9+ZAuT/f0DgMIS6Sk1scC XxtuAOr8cOjWvCywGXUcOouM/w+fQTGLgJzWGbFEjMH9mONTjlVI36o48XUfgtzjBYP+ E/KJ0BS+CTtEWhw0VEhAn2D4iXKqvRviQUE2GXYRgnOQaXjFYqD67fLqiTpLBgLh22HW L84Q5/vIlx+rBcGDZ7O2YW9Q6M4KVGiw5UIekRuUjQA/WcwIw0lO5+wp9O3Mn1VdbE9b MZzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MB1XMDGX; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si11713583plp.71.2018.09.08.14.27.07; Sat, 08 Sep 2018 14:27:22 -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=@gmail.com header.s=20161025 header.b=MB1XMDGX; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728128AbeIICM4 (ORCPT + 99 others); Sat, 8 Sep 2018 22:12:56 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43365 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbeIICMe (ORCPT ); Sat, 8 Sep 2018 22:12:34 -0400 Received: by mail-wr1-f67.google.com with SMTP id k5-v6so18100325wre.10; Sat, 08 Sep 2018 14:25:25 -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=QLWoO95oaoANsEnjgjtYxDXeyWdMYaJIHZZCQ0x3jE0=; b=MB1XMDGXrqKIsnKgQTPItNcmqjfxTQISOECRnZ0WrJLEtf9vamMqX2Fkc19pbkA2z+ Vewpt4amP03+vi0O2KGvBOk/DgLAypnhRfF/aG5cNz04Zy77qJ+FMtThmZ6lbbphLcVj iVhyErOp17QSw5rx6+9/5yhODms5Nu/k7Q8rSEKYXF+hfXBt2YhkBuIHb5La480WTBk+ gopICpGQ0IaElZ1S/LI8/0QJCpFNrUbxL/ixAixLhTRIRuErO4L6AMGFSG6Ie+63QDYs F8y0Fedb0HBzNulKLfBKgK7DwGBGwXuBnpx5bPYeQCRH2sR2po7YZPUxNTzn9/4D7MSj fafw== 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=QLWoO95oaoANsEnjgjtYxDXeyWdMYaJIHZZCQ0x3jE0=; b=nnCVaCJaVJ115Lw2xSNh7SbI1iv7QdG4uqtI8kN/IGJQhQVtvMYQRvg4oLzLCN4yhj aZbufB3tX705jVnxYGRzuAKDF30LjEBuiohvSIwoozjdb52WuP1YzvhOSu2GpR5YQHkp bdA5joST+gr/ct3597NhiSgEZDiNpmXdGkLQPu8bQZYHKQt9FPGohIUM1cH2n90gryua t66ev7E6KqBNWe7yT/LAxfdtWPx6xtmN287eaQcmHJupCwAzCpdEArEdV6YIIdK93lMh ytpK/PPsgZe81rCHtiEi6i+pzFGVCsCGOe+jbza1y7nG69gDZ3VhhxswtXCs9ZCNwQA7 i7ag== X-Gm-Message-State: APzg51BIKHHQrhuhSoL3vB6k8ovtuNh1n8YQFVBNUc3OO6Llyj3+DxAX QjqTYITPlEjszg/h60gIH8c= X-Received: by 2002:a5d:6103:: with SMTP id v3-v6mr10806145wrt.265.1536441925252; Sat, 08 Sep 2018 14:25:25 -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 u40-v6sm17340786wrc.43.2018.09.08.14.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 14:25:24 -0700 (PDT) From: Miguel Ojeda To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Miguel Ojeda , Rasmus Villemoes , Luc Van Oostenryck , Eli Friedman , Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman , Masahiro Yamada , Joe Perches , Dominique Martinet , linux-sparse@vger.kernel.org Subject: [PATCH v4 10/13] Compiler Attributes: KENTRY used twice the "used" attribute Date: Sat, 8 Sep 2018 23:24:56 +0200 Message-Id: <20180908212459.19736-11-miguel.ojeda.sandonis@gmail.com> In-Reply-To: <20180908212459.19736-1-miguel.ojeda.sandonis@gmail.com> References: <20180908212459.19736-1-miguel.ojeda.sandonis@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Linus Torvalds Cc: linux-sparse@vger.kernel.org Reviewed-by: Nick Desaulniers 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