From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: Genjian <zhanggenjian@126.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Huacai Chen" <chenhuacai@kernel.org>,
ricardo@marliere.net
Cc: "linux-mips@vger.kernel.org" <linux-mips@vger.kernel.org>,
linux-kernel@vger.kernel.org,
"Genjian Zhang" <zhanggenjian@kylinos.cn>,
k2ci <kernel-bot@kylinos.cn>
Subject: Re: [PATCH 1/3] MIPS: Loongson64: include asm/bootinfo.h
Date: Thu, 16 May 2024 13:21:22 +0100 [thread overview]
Message-ID: <e2611415-410d-4b0d-bc35-604d08601b45@app.fastmail.com> (raw)
In-Reply-To: <20240516115906.1224164-1-zhanggenjian@126.com>
在2024年5月16日五月 下午12:59,Genjian写道:
> From: Genjian Zhang <zhanggenjian@kylinos.cn>
>
> build-warning is printed:
> arch/mips/loongson64/dma.c:25:13: error: no previous prototype for
> ‘plat_swiotlb_setup’ [-Werror=missing-prototypes]
>
> Include the header to fix it.
Duplicated with my patch[1], but thanks for the patch anyway.
Thanks
[1]: https://lore.kernel.org/linux-mips/20240507-loongson64-warnings-v1-2-2cad88344e9e@flygoat.com/
>
> Reported-by: k2ci <kernel-bot@kylinos.cn>
> Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn>
> ---
> arch/mips/loongson64/dma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/mips/loongson64/dma.c b/arch/mips/loongson64/dma.c
> index 8220a1bc0db6..5c5e524b9121 100644
> --- a/arch/mips/loongson64/dma.c
> +++ b/arch/mips/loongson64/dma.c
> @@ -3,6 +3,7 @@
> #include <linux/init.h>
> #include <linux/swiotlb.h>
> #include <boot_param.h>
> +#include <asm/bootinfo.h>
>
> dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)
> {
> --
> 2.25.1
--
- Jiaxun
prev parent reply other threads:[~2024-05-16 12:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-16 11:59 Genjian
2024-05-16 11:59 ` [PATCH 2/3] MIPS: sgi-ip22: Add prototypes for several functions to header Genjian
2024-06-11 11:21 ` Thomas Bogendoerfer
2024-05-16 11:59 ` [PATCH 3/3] MIPS: ip22-gio: Make ip22_gio_set_64bit() and ip22_gio_init() static Genjian
2024-06-11 11:21 ` Thomas Bogendoerfer
2024-05-16 12:21 ` Jiaxun Yang [this message]
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=e2611415-410d-4b0d-bc35-604d08601b45@app.fastmail.com \
--to=jiaxun.yang@flygoat.com \
--cc=chenhuacai@kernel.org \
--cc=kernel-bot@kylinos.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=ricardo@marliere.net \
--cc=tsbogend@alpha.franken.de \
--cc=zhanggenjian@126.com \
--cc=zhanggenjian@kylinos.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
all inboxes | Powered by JetHome®