[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1620904043-71858-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Thu, 13 May 2021 19:07:23 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: chris@...kel.net
Cc: jcmvbkbc@...il.com, linux-xtensa@...ux-xtensa.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] xtensa: Fix duplicate included linux/unaligned/generic.h
Clean up the following includecheck warning:
./arch/xtensa/include/asm/unaligned.h: linux/unaligned/generic.h is
included more than once.
No functional change.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
arch/xtensa/include/asm/unaligned.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/xtensa/include/asm/unaligned.h b/arch/xtensa/include/asm/unaligned.h
index 8e7ed04..c8838d9 100644
--- a/arch/xtensa/include/asm/unaligned.h
+++ b/arch/xtensa/include/asm/unaligned.h
@@ -15,15 +15,15 @@
#ifdef __LITTLE_ENDIAN
# include <linux/unaligned/le_struct.h>
# include <linux/unaligned/be_byteshift.h>
-# include <linux/unaligned/generic.h>
# define get_unaligned __get_unaligned_le
# define put_unaligned __put_unaligned_le
#else
# include <linux/unaligned/be_struct.h>
# include <linux/unaligned/le_byteshift.h>
-# include <linux/unaligned/generic.h>
# define get_unaligned __get_unaligned_be
# define put_unaligned __put_unaligned_be
#endif
+# include <linux/unaligned/generic.h>
+
#endif /* _ASM_XTENSA_UNALIGNED_H */
--
1.8.3.1
Powered by blists - more mailing lists