* [PATCH] IDT: Fix Build warnings on some 32bit architectures.
@ 2021-10-29 12:05 Wang Haojun
0 siblings, 0 replies; only message in thread
From: Wang Haojun @ 2021-10-29 12:05 UTC (permalink / raw)
To: Serge Semin; +Cc: linux-ntb, Huacai Chen, Wang Haojun, Li Xuefeng
The frame size of 1032 bytes is larger than 1024 bytes on 32bit with
unaligned memory accesses architectures.
Signed-off-by: Wang Haojun <wanghaojun@loongson.cn>
---
drivers/ntb/hw/idt/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ntb/hw/idt/Makefile b/drivers/ntb/hw/idt/Makefile
index f75e9d65c8a2..4e52d83ae75c 100644
--- a/drivers/ntb/hw/idt/Makefile
+++ b/drivers/ntb/hw/idt/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_NTB_IDT) += ntb_hw_idt.o
+CFLAGS_ntb_hw_idt.o += -Wframe-larger-than=1280
--
2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-29 12:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 12:05 [PATCH] IDT: Fix Build warnings on some 32bit architectures Wang Haojun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.