In the conversion between typedef and struct, two places that needed a "struct"
were missed.
Signed-off-by: Larry Finger <[email protected]>
---
John,
Without these, compilation fails.
Larry
---
Index: wireless-testing/drivers/net/wireless/b43/phy_n.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/phy_n.c
+++ wireless-testing/drivers/net/wireless/b43/phy_n.c
@@ -822,7 +822,7 @@ static u16 b43_nphy_gen_load_samples(str
{
int i;
u16 bw, len, rot, angle;
- b43_c32 *samples;
+ struct b43_c32 *samples;
bw = (dev->phy.is_40mhz) ? 40 : 20;
@@ -840,7 +840,7 @@ static u16 b43_nphy_gen_load_samples(str
len = bw << 1;
}
- samples = kzalloc(len * sizeof(b43_c32), GFP_KERNEL);
+ samples = kzalloc(len * sizeof(struct b43_c32), GFP_KERNEL);
rot = (((freq * 36) / bw) << 16) / 100;
angle = 0;
On Tue, Jan 26, 2010 at 04:42:02PM -0600, Larry Finger wrote:
> In the conversion between typedef and struct, two places that needed a "struct"
> were missed.
>
> Signed-off-by: Larry Finger <[email protected]>
> ---
>
> John,
>
> Without these, compilation fails.
>
> Larry
Larry, thanks for fixing this! Sorry I missed those bits.
John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.