From patchwork Thu Sep 20 17:23:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miguel Ojeda X-Patchwork-Id: 10608265 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 0AF546CB for ; Thu, 20 Sep 2018 17:24:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5C1B2E298 for ; Thu, 20 Sep 2018 17:24:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8B632E29B; Thu, 20 Sep 2018 17:24:01 +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=ham 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 7EA632E298 for ; Thu, 20 Sep 2018 17:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733169AbeITXIa (ORCPT ); Thu, 20 Sep 2018 19:08:30 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36012 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727476AbeITXI3 (ORCPT ); Thu, 20 Sep 2018 19:08:29 -0400 Received: by mail-wm1-f65.google.com with SMTP id j192-v6so362363wmj.1; Thu, 20 Sep 2018 10:23:57 -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=vbv1Y/GlhcruRFT8QBdnUxOtMBEpuuFGHW2cNrplv7o=; b=VD1VOOzGehS8sa9shxFULPPYTsNU3Ee7fFmG53lD5PyLy80l70mCcQxwAZJZk2NYl7 L/xaZNlQCQrMM0J8B5fDiXZtVZayvCJOFc80AAf7sGsL/5BWo6sdGl5HhEAKd7v9NFFw dxRL7jToUx2EjOlB3qk1L/q7gsjXM5DtWXxywFVMGfXExxcBHc9WCDeLrirhYw3htrjQ rU1BfQfOEm81Dbl3L7gh0Wyz8nNZR4Bb16FE/rV1vXKsAWzMxym2yyQwtEGJerL6vIrW 2BfcTvzZuNlRW7UQ82+UdyDXM6ZNhyoEZIbdGNwaIcMpkadOUVMqamZAxecOd71cKYBY 05uA== 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=vbv1Y/GlhcruRFT8QBdnUxOtMBEpuuFGHW2cNrplv7o=; b=EQEJc392e014onr0arkWOIhVumOF6/6rlnCcSZSKteUiep/1pgAGaMdA7a2exfV3NG gJ6dncIE1Sjkt+D+Ksqu4YLbYu47L1CVCdCfkpeFRKbaMuA6Gj/JEMkiaUCNFsyH/bqU FaZuOoolFs3moH26kjCJCAorN05YC9fbZARY315Abp2uQggUZo+kA6w35oD3xOKvJjAd j5Q3X2Lm1QKaE5aNGssgQJ6j184AGZ49m0F3b7BL9eni8jm/Dt+c0Iokgg8UboQeb4ZG mnEdAh/NPz4QGwQHDDv/iAM4wQGB5Le+AU1MZKiWaBPg+BHwje55cjRbgxzBVlNDAs7M jmwA== X-Gm-Message-State: APzg51DL/wxD4tRw2tjolmNWYROlXmYnSoQOLbo0aaO0cAGlZGuPtUzJ ZcudsfvSLymd1SI5v7WQP8g= X-Google-Smtp-Source: ANB0VdasYzls/w9wxWSqLqLIYHgUA/UOrQWws132mWDbYGx7sHWqHHLxq1EqKYphbf6s8dekc165NA== X-Received: by 2002:a1c:3d07:: with SMTP id k7-v6mr3939395wma.146.1537464237286; Thu, 20 Sep 2018 10:23:57 -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.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 10:23:56 -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 15/15] Compiler Attributes: ext4: remove local __nonstring definition Date: Thu, 20 Sep 2018 19:23:01 +0200 Message-Id: <20180920172301.21868-16-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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 072ebb3bffe6 ("ext4: add nonstring annotations to ext4.h") introduced a local definition of __nonstring to suppress some false positives in gcc 8's -Wstringop-truncation. Since now we support __nonstring for everyone, remove it. Signed-off-by: Miguel Ojeda Reviewed-by: Nick Desaulniers --- fs/ext4/ext4.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index caff935fbeb8..2acdfdad3d3f 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -45,15 +45,6 @@ #include -/* Until this gets included into linux/compiler-gcc.h */ -#ifndef __nonstring -#if defined(GCC_VERSION) && (GCC_VERSION >= 80000) -#define __nonstring __attribute__((nonstring)) -#else -#define __nonstring -#endif -#endif - /* * The fourth extended filesystem constants/structures */