Re: [ipw3945-devel] mmotm0812 - something in linux-next killediwl-3945.c

From: John W. Linville
Date: Thu Aug 13 2009 - 13:30:23 EST


On Thu, Aug 13, 2009 at 12:59:54PM -0400, Valdis.Kletnieks@xxxxxx wrote:
> Build bombs out:
>
> CC drivers/net/wireless/iwlwifi/iwl-3945.o
> drivers/net/wireless/iwlwifi/iwl-3945.c: In function 'iwl3945_pass_packet_to_mac80211':
> drivers/net/wireless/iwlwifi/iwl-3945.c:580: error: 'hdr' undeclared (first use in this function)
> drivers/net/wireless/iwlwifi/iwl-3945.c:580: error: (Each undeclared identifier is reported only once
> drivers/net/wireless/iwlwifi/iwl-3945.c:580: error: for each function it appears in.)
> make[1]: *** [drivers/net/wireless/iwlwifi/iwl-3945.o] Error 1
>
> due to this in linux-next.patch:
>
> index 46288e7..ae7f163 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-3945.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
> (skipping)
> @@ -577,7 +577,10 @@ static void iwl3945_pass_packet_to_mac80211(struct iwl_priv
> *priv,
> if (ieee80211_is_data(hdr->frame_control))
> priv->rxtxpackets += len;
> #endif
> - ieee80211_rx_irqsafe(priv->hw, rxb->skb, stats);
> + iwl_update_stats(priv, false, hdr->frame_control, len);
> +
> + memcpy(IEEE80211_SKB_RXCB(rxb->skb), stats, sizeof(*stats));
> + ieee80211_rx_irqsafe(priv->hw, rxb->skb);
> rxb->skb = NULL;
>
> Sorry, don't have a linux-next git tree, so no 'git blame' for what did it.
> Hopefully somebody recognizes their handiwork... ;)

I think this is the LEDS-related build failure, which already has a patch.

--
John W. Linville Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx might be all we have. Be ready.
--
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/