Message ID | 20220523121639.16521-1-jim2101024@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e205a9945cf9dbcec79d8271caba355916ea0943 |
Headers | show |
Series | [v1] MIPS: bmips: Fix compiler warning observed on W=1 build | expand |
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>
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.
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>
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(+) base-commit: 4b0986a3613c92f4ec1bdc7f60ec66fea135991f