lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 16 May 2024 13:21:22 +0100
From: "Jiaxun Yang" <jiaxun.yang@...goat.com>
To: Genjian <zhanggenjian@....com>,
 "Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
 "Huacai Chen" <chenhuacai@...nel.org>, ricardo@...liere.net
Cc: "linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
 linux-kernel@...r.kernel.org, "Genjian Zhang" <zhanggenjian@...inos.cn>,
 k2ci <kernel-bot@...inos.cn>
Subject: Re: [PATCH 1/3] MIPS: Loongson64: include asm/bootinfo.h



在2024年5月16日五月 下午12:59,Genjian写道:
> From: Genjian Zhang <zhanggenjian@...inos.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@...inos.cn>
> Signed-off-by: Genjian Zhang <zhanggenjian@...inos.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ