Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1938165imm; Mon, 3 Sep 2018 13:35:51 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdber6IjAC64K3vocMgCavPsEAS++dpXQ6RKc/HGtNXT0/911N1nuRHw00pKQta7zAqM6e+B X-Received: by 2002:a62:a05:: with SMTP id s5-v6mr31732625pfi.147.1536006951077; Mon, 03 Sep 2018 13:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536006951; cv=none; d=google.com; s=arc-20160816; b=wqQcgsS0B4g4R9QNmybOoAc+g88ccTvCuQJc1zKModhas6wZI30Xo8ciJFzbP6c3uM pYS4sWq9WbBkMQhG1ea2XlsUP3GSWGbjPedfuaW+8ZidzT6FZDRkLoJmwZLfLN53bNtu XLcysF3FeJWvs2PHca42aN9+pjJtu++btP0MTQVpb1dd3rHSy/XVcKd3C5AzJtdb4ewy fHAiD6F5dpa3hA9LVUT7luq77AidpPgpcqbmtZ7W07ULIV8QIC7xBbdEV/ZbIaNf98Ha 4aAp7JADqFIo9wL0x+hfH1I0YQVQfjmDpWD+P9B8BnwNs2YtDTDFHegtBVyDI7cg4JFj 9qYg== 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:arc-authentication-results; bh=VqRqOGZ4G4JNA6fITKU0kaGxJLv/GQRGqVshL6cqUnI=; b=EDTbd3rSBAjK4WEHXmZODkjg3NzgoPsjXeu7MDp31xzx8eSlM5bfK4DuyTNDFJg2+q vFfQ9f2mSfa3UrSBJAIo9ML6cb+GAa43fKO35RC/HLawywMhFFpl111JkcMp+KMAqZkm sO6ovVMVkIoHaiTsBre1taUnC8N2KdgfIq3md4msGYO6SHOIrs6O17172M/ZQ7Xcn7cb HFyIl/xi5OWwdCyRFJ/7q6JOhUJNIGQh0LuUZezGXb2Rj0QcGK7jCdiqZzMQ9xm/1zIS 5n70Jwu8Vd0ofOEF703nUNEfo71bDHUos0usjzgbU9WNzlIryiXEJpUW5dKJyB6A5uBZ WA6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A7dAQwnO; 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 97-v6si19528361plm.290.2018.09.03.13.35.36; Mon, 03 Sep 2018 13:35:51 -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=A7dAQwnO; 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 S1729100AbeIDAzy (ORCPT + 99 others); Mon, 3 Sep 2018 20:55:54 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37418 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729079AbeIDAzx (ORCPT ); Mon, 3 Sep 2018 20:55:53 -0400 Received: by mail-wr1-f66.google.com with SMTP id u12-v6so1763502wrr.4; Mon, 03 Sep 2018 13:34:01 -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=VqRqOGZ4G4JNA6fITKU0kaGxJLv/GQRGqVshL6cqUnI=; b=A7dAQwnOCtPnkh9wwQe3CpCyq8Vs+lmQREw47ahv3vjNKPZCzSzuEv1bmKssLspqno xd4JSpFb0Kzi+X2VofhHKHk1Bc+9BxqOGbCwbik19Ijzht7lCahBpRpMXBlq5fh/mZDP ENzi9nJ5I+Q+Sdg0Jn/qBect0qWfaW2QJMO957rU6GdfTJ+KL5a/MB4gQEYYSdVY9Tvw UkqX5C5WM3A7/tW+X7WkKenwrI42a/z2wqpyNa25SYrZQUbneR5P3HBx2LRc3YheROYx pZovZDT+B+bsEyK7N0bZvGQLhlAyJY3OB4VxGbGJ89pD3oPkI7pWrc6/vi3LnZmccNxw oeyQ== 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=VqRqOGZ4G4JNA6fITKU0kaGxJLv/GQRGqVshL6cqUnI=; b=XfSzBrjSEVyC0283rtEM8jn+EayBtP4JueDxfPQzM+xlANw7GUFchIpo/TcBk4RLCm w5+F41nY0oq9aocfGKhmaT1QGA52Q83J2V+H+rSr05grsEYaA3Lzn6m/T5Cn0jJI5Ahx 8/cQmltTTFIgrlTKf7PKcHx3fhXUlUJr18m+ziB7HXETT9Ek0Nd/832vwFg+Sb44js8g i2fzvloHN2yhZdPhrQCM1RRRYAtFqiSG5E1CiohmHSMEIXrWKV90y/gzUr1JHN+39uN5 poUUDIoZI2CDqimy38XpjB1+0b0O0HOjnbGO36z5PU75MTGSdv9aJl6/KVjSJpMXLi6O NZyw== X-Gm-Message-State: APzg51CNis6lWyC3sus+87Kz4UjAV4cEwj2KlpN2eBpOz6QYYj1mW24W KXcx8c/o6m/kg6Mn+Tm9dac= X-Received: by 2002:a5d:4684:: with SMTP id u4-v6mr21062416wrq.76.1536006841130; Mon, 03 Sep 2018 13:34:01 -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 132-v6sm12354870wmd.13.2018.09.03.13.33.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 13:34:00 -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 , Nick Desaulniers , linux-sparse@vger.kernel.org Subject: [PATCH 10/12] Compiler Attributes: KENTRY used twice the "used" attribute Date: Mon, 3 Sep 2018 22:33:14 +0200 Message-Id: <20180903203316.16183-11-miguel.ojeda.sandonis@gmail.com> In-Reply-To: <20180903203316.16183-1-miguel.ojeda.sandonis@gmail.com> References: <20180903203316.16183-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: 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