Commit f0604f63 authored by Miguel Ojeda's avatar Miguel Ojeda

Compiler Attributes: ext4: remove local __nonstring definition

Commit 072ebb3b ("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.

Tested-by: Sedat Dilek <> # on top of v4.19-rc5, clang 7
Reviewed-by: default avatarNick Desaulniers <>
Reviewed-by: default avatarLuc Van Oostenryck <>
Signed-off-by: default avatarMiguel Ojeda <>
parent 98cade0a
......@@ -45,15 +45,6 @@
#include <linux/compiler.h>
/* Until this gets included into linux/compiler-gcc.h */
#ifndef __nonstring
#if defined(GCC_VERSION) && (GCC_VERSION >= 80000)
#define __nonstring __attribute__((nonstring))
#define __nonstring
* The fourth extended filesystem constants/structures
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment