Search Linux Wireless

RE: [PATCH 1/1] mac80211: fix warning for un-used parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Johannes Berg [mailto:johannes@xxxxxxxxxxxxxxxx] 
Sent: Saturday, August 21, 2010 3:04 AM
To: Guy, Wey-Yi W
Cc: linux-wireless@xxxxxxxxxxxxxxx
Subject: Re: [PATCH 1/1] mac80211: fix warning for un-used parameter

On Fri, 2010-08-20 at 14:49 -0700, wey-yi.w.guy@xxxxxxxxx wrote:

> @@ -1701,7 +1701,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
>  	u16 ethertype, hdrlen,  meshhdrlen = 0;
>  	__le16 fc;
>  	struct ieee80211_hdr hdr;
> +#ifdef CONFIG_MAC80211_MESH
>  	struct ieee80211s_hdr mesh_hdr;
> +#endif

Good catch. I think just adding __maybe_unused would be better though?

Yeah, could do that, will re-submit

Wey

��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux