* [PATCH-next] bus: fsl-mc: fix implicit irq include causing build fails
@ 2017-07-23 14:36 Paul Gortmaker
2017-08-14 22:18 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2017-07-23 14:36 UTC (permalink / raw)
To: linux-kernel
Cc: linux-next, Paul Gortmaker, Stuart Yoder, Laurentiu Tudor,
Greg Kroah-Hartman
To fix:
In file included from drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h:39:0,
from drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c:34:
drivers/staging/fsl-dpaa2/ethernet/../../fsl-mc/include/dpaa2-io.h:86:1: error: unknown type name ‘irqreturn_t’
irqreturn_t dpaa2_io_irq(struct dpaa2_io *obj);
^
as seen on arm64 allmodconfig builds.
Cc: Stuart Yoder <stuyoder@gmail.com>
Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[Seen on current linux-next tree.]
drivers/staging/fsl-mc/include/dpaa2-io.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/drivers/staging/fsl-mc/include/dpaa2-io.h
index 002829cecd75..afc5d5bb1698 100644
--- a/drivers/staging/fsl-mc/include/dpaa2-io.h
+++ b/drivers/staging/fsl-mc/include/dpaa2-io.h
@@ -34,6 +34,7 @@
#include <linux/types.h>
#include <linux/cpumask.h>
+#include <linux/interrupt.h>
#include "dpaa2-fd.h"
#include "dpaa2-global.h"
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH-next] bus: fsl-mc: fix implicit irq include causing build fails
2017-07-23 14:36 [PATCH-next] bus: fsl-mc: fix implicit irq include causing build fails Paul Gortmaker
@ 2017-08-14 22:18 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2017-08-14 22:18 UTC (permalink / raw)
To: Paul Gortmaker; +Cc: linux-kernel, linux-next, Stuart Yoder, Laurentiu Tudor
On Sun, Jul 23, 2017 at 10:36:52AM -0400, Paul Gortmaker wrote:
> To fix:
>
> In file included from drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h:39:0,
> from drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c:34:
> drivers/staging/fsl-dpaa2/ethernet/../../fsl-mc/include/dpaa2-io.h:86:1: error: unknown type name ‘irqreturn_t’
> irqreturn_t dpaa2_io_irq(struct dpaa2_io *obj);
> ^
>
> as seen on arm64 allmodconfig builds.
>
> Cc: Stuart Yoder <stuyoder@gmail.com>
> Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
>
> [Seen on current linux-next tree.]
>
> drivers/staging/fsl-mc/include/dpaa2-io.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/drivers/staging/fsl-mc/include/dpaa2-io.h
> index 002829cecd75..afc5d5bb1698 100644
> --- a/drivers/staging/fsl-mc/include/dpaa2-io.h
> +++ b/drivers/staging/fsl-mc/include/dpaa2-io.h
> @@ -34,6 +34,7 @@
>
> #include <linux/types.h>
> #include <linux/cpumask.h>
> +#include <linux/interrupt.h>
>
> #include "dpaa2-fd.h"
> #include "dpaa2-global.h"
This does not apply to my tree :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-14 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23 14:36 [PATCH-next] bus: fsl-mc: fix implicit irq include causing build fails Paul Gortmaker
2017-08-14 22:18 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox