Re: [PATCH] mlx4: Fix compile error when driver is comiled-in

From: David Miller
Date: Fri Dec 16 2011 - 15:29:44 EST


From: Joerg Roedel <joerg.roedel@xxxxxxx>
Date: Thu, 15 Dec 2011 17:48:37 +0100

> Testing my iommu-configs against linux-next found a compile error for
> allyesconfig. It only happens when the mlx4 driver is compiled into the
> kernel and not as a module because these two static functions are also
> used in another file. The attached patch fixes it.
>
>>From b993c4448c2ce5447fd24e7d4fce02e633d3222e Mon Sep 17 00:00:00 2001
> From: Joerg Roedel <joerg.roedel@xxxxxxx>
> Date: Thu, 15 Dec 2011 17:30:33 +0100
> Subject: [PATCH 1/2] mlx4: Fix compile error when driver is comiled-in
>
> This patch fixes a compile error that occurs when the driver
> is compile into the kernel and not as a module.
>
> Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>

I wish we detected "exporting symbol marked static" properly.

I'll apply this, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/