* [PATCH] b43: N PHY: Fix compilation after removal of typdef b43_c32
@ 2010-01-26 22:42 Larry Finger
2010-01-27 19:31 ` John W. Linville
0 siblings, 1 reply; 2+ messages in thread
From: Larry Finger @ 2010-01-26 22:42 UTC (permalink / raw)
To: John W Linville, zajec5; +Cc: bcm43xx-dev, linux-wireless
In the conversion between typedef and struct, two places that needed a "struct"
were missed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] b43: N PHY: Fix compilation after removal of typdef b43_c32
2010-01-26 22:42 [PATCH] b43: N PHY: Fix compilation after removal of typdef b43_c32 Larry Finger
@ 2010-01-27 19:31 ` John W. Linville
0 siblings, 0 replies; 2+ messages in thread
From: John W. Linville @ 2010-01-27 19:31 UTC (permalink / raw)
To: Larry Finger; +Cc: zajec5, bcm43xx-dev, linux-wireless
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 <Larry.Finger@lwfinger.net>
> ---
>
> 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
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-27 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 22:42 [PATCH] b43: N PHY: Fix compilation after removal of typdef b43_c32 Larry Finger
2010-01-27 19:31 ` John W. Linville
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).