* [PATCH] net/ethernet/freescale/fman: fix cross-build error
@ 2018-07-14 4:25 Randy Dunlap
2018-07-16 21:03 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-07-14 4:25 UTC (permalink / raw)
To: netdev@vger.kernel.org, David Miller; +Cc: Madalin Bucur, PowerPC
From: Randy Dunlap <rdunlap@infradead.org>
CC [M] drivers/net/ethernet/freescale/fman/fman.o
In file included from ../drivers/net/ethernet/freescale/fman/fman.c:35:
../include/linux/fsl/guts.h: In function 'guts_set_dmacr':
../include/linux/fsl/guts.h:165:2: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift);
^~~~~~~~~~~~~~~
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Madalin Bucur <madalin.bucur@nxp.com>
Cc: netdev@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
---
Found while doing ppc32_allmodconfig builds.
include/linux/fsl/guts.h | 1 +
1 file changed, 1 insertion(+)
--- lnx-418-rc4.orig/include/linux/fsl/guts.h
+++ lnx-418-rc4/include/linux/fsl/guts.h
@@ -16,6 +16,7 @@
#define __FSL_GUTS_H__
#include <linux/types.h>
+#include <linux/io.h>
/**
* Global Utility Registers.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net/ethernet/freescale/fman: fix cross-build error
2018-07-14 4:25 [PATCH] net/ethernet/freescale/fman: fix cross-build error Randy Dunlap
@ 2018-07-16 21:03 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-07-16 21:03 UTC (permalink / raw)
To: rdunlap; +Cc: netdev, madalin.bucur, linuxppc-dev
From: Randy Dunlap <rdunlap@infradead.org>
Date: Fri, 13 Jul 2018 21:25:19 -0700
> From: Randy Dunlap <rdunlap@infradead.org>
>
> CC [M] drivers/net/ethernet/freescale/fman/fman.o
> In file included from ../drivers/net/ethernet/freescale/fman/fman.c:35:
> ../include/linux/fsl/guts.h: In function 'guts_set_dmacr':
> ../include/linux/fsl/guts.h:165:2: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
> clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift);
> ^~~~~~~~~~~~~~~
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-16 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-14 4:25 [PATCH] net/ethernet/freescale/fman: fix cross-build error Randy Dunlap
2018-07-16 21:03 ` David Miller
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).