2007-05-15 19:36:57

by Al Viro

[permalink] [raw]
Subject: [PATCH] missing includes in mlx4


Signed-off-by: Al Viro <[email protected]>
---
drivers/net/mlx4/alloc.c | 1 +
drivers/net/mlx4/eq.c | 1 +
drivers/net/mlx4/icm.c | 1 +
drivers/net/mlx4/reset.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/net/mlx4/alloc.c b/drivers/net/mlx4/alloc.c
index 9ffdb9d..dfbd580 100644
--- a/drivers/net/mlx4/alloc.c
+++ b/drivers/net/mlx4/alloc.c
@@ -33,6 +33,7 @@
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/bitmap.h>
+#include <linux/dma-mapping.h>

#include "mlx4.h"

diff --git a/drivers/net/mlx4/eq.c b/drivers/net/mlx4/eq.c
index af016d0..0f11adb 100644
--- a/drivers/net/mlx4/eq.c
+++ b/drivers/net/mlx4/eq.c
@@ -33,6 +33,7 @@

#include <linux/init.h>
#include <linux/interrupt.h>
+#include <linux/dma-mapping.h>

#include <linux/mlx4/cmd.h>

diff --git a/drivers/net/mlx4/icm.c b/drivers/net/mlx4/icm.c
index e96feae..b7a4aa8 100644
--- a/drivers/net/mlx4/icm.c
+++ b/drivers/net/mlx4/icm.c
@@ -33,6 +33,7 @@

#include <linux/init.h>
#include <linux/errno.h>
+#include <linux/mm.h>

#include <linux/mlx4/cmd.h>

diff --git a/drivers/net/mlx4/reset.c b/drivers/net/mlx4/reset.c
index 51eef84..e4dfd4b 100644
--- a/drivers/net/mlx4/reset.c
+++ b/drivers/net/mlx4/reset.c
@@ -35,6 +35,7 @@
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
+#include <linux/jiffies.h>

#include "mlx4.h"

--
1.5.0-rc2.GIT



2007-05-15 19:51:06

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] missing includes in mlx4

Al Viro wrote:
> Signed-off-by: Al Viro <[email protected]>
> ---
> drivers/net/mlx4/alloc.c | 1 +
> drivers/net/mlx4/eq.c | 1 +
> drivers/net/mlx4/icm.c | 1 +
> drivers/net/mlx4/reset.c | 1 +
> 4 files changed, 4 insertions(+), 0 deletions(-)

ACK


2007-05-15 20:07:33

by Roland Dreier

[permalink] [raw]