From: Wang Haojun <jiangliuer01@gmail.com>
To: Serge Semin <fancer.lancer@gmail.com>
Cc: linux-ntb@googlegroups.com, Huacai Chen <chenhuacai@kernel.org>,
Wang Haojun <wanghaojun@loongson.cn>,
Li Xuefeng <lixuefeng@loongson.cn>
Subject: [PATCH v2] IDT: Fix Build warnings on some 32bit architectures.
Date: Wed, 3 Nov 2021 14:39:43 +0800 [thread overview]
Message-ID: <20211103063943.4098587-1-wanghaojun@loongson.cn> (raw)
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
reply other threads:[~2021-11-03 6:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211103063943.4098587-1-wanghaojun@loongson.cn \
--to=jiangliuer01@gmail.com \
--cc=chenhuacai@kernel.org \
--cc=fancer.lancer@gmail.com \
--cc=linux-ntb@googlegroups.com \
--cc=lixuefeng@loongson.cn \
--cc=wanghaojun@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).