All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] IDT: Fix Build warnings on some 32bit architectures.
@ 2021-11-03  6:39 Wang Haojun
  0 siblings, 0 replies; only message in thread
From: Wang Haojun @ 2021-11-03  6:39 UTC (permalink / raw)
  To: Serge Semin; +Cc: linux-ntb, Huacai Chen, Wang Haojun, Li Xuefeng

Building an allmodconfig mips kernel, the following build warning
shows up:

drivers/ntb/hw/idt/ntb_hw_idt.c: In function 'idt_scan_mws':
drivers/ntb/hw/idt/ntb_hw_idt.c:1116:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

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-11-03  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  6:39 [PATCH v2] 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.