All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build
@ 2022-05-23 12:16 Jim Quinlan
  2022-05-23 15:40 ` Florian Fainelli
  2022-05-23 16:28 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Jim Quinlan @ 2022-05-23 12:16 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, jim2101024, james.quinlan
  Cc: Florian Fainelli, Thomas Bogendoerfer,
	open list:BROADCOM BMIPS MIPS ARCHITECTURE, open list

The function arch_sync_dma_for_cpu_all() was used but was
missing a prototype declaration.

Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
---
 arch/mips/bmips/dma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c
index c535f9cb75ec..33788668cbdb 100644
--- a/arch/mips/bmips/dma.c
+++ b/arch/mips/bmips/dma.c
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include <linux/types.h>
+#include <linux/dma-map-ops.h>
 #include <asm/bmips.h>
 #include <asm/io.h>
 

base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build
  2022-05-23 12:16 [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build Jim Quinlan
@ 2022-05-23 15:40 ` Florian Fainelli
  2022-05-23 16:28 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-05-23 15:40 UTC (permalink / raw)
  To: Jim Quinlan, bcm-kernel-feedback-list, james.quinlan
  Cc: Florian Fainelli, Thomas Bogendoerfer,
	open list:BROADCOM BMIPS MIPS ARCHITECTURE, open list



On 5/23/2022 5:16 AM, Jim Quinlan wrote:
> The function arch_sync_dma_for_cpu_all() was used but was
> missing a prototype declaration.
> 
> Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build
  2022-05-23 12:16 [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build Jim Quinlan
  2022-05-23 15:40 ` Florian Fainelli
@ 2022-05-23 16:28 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2022-05-23 16:28 UTC (permalink / raw)
  To: Jim Quinlan
  Cc: bcm-kernel-feedback-list, james.quinlan, Florian Fainelli,
	open list:BROADCOM BMIPS MIPS ARCHITECTURE, open list

On Mon, May 23, 2022 at 08:16:39AM -0400, Jim Quinlan wrote:
> The function arch_sync_dma_for_cpu_all() was used but was
> missing a prototype declaration.
> 
> Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>
> ---
>  arch/mips/bmips/dma.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c
> index c535f9cb75ec..33788668cbdb 100644
> --- a/arch/mips/bmips/dma.c
> +++ b/arch/mips/bmips/dma.c
> @@ -1,6 +1,7 @@
>  // SPDX-License-Identifier: GPL-2.0+
>  
>  #include <linux/types.h>
> +#include <linux/dma-map-ops.h>
>  #include <asm/bmips.h>
>  #include <asm/io.h>
>  
> 
> base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
> -- 
> 2.17.1

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-23 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 12:16 [PATCH v1] MIPS: bmips: Fix compiler warning observed on W=1 build Jim Quinlan
2022-05-23 15:40 ` Florian Fainelli
2022-05-23 16:28 ` Thomas Bogendoerfer

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.