Search Linux Wireless

Re: [PATCH] cfg80211: add extensible feature flag attribute

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

 



On Tue, 2014-12-23 at 17:05 +0100, Arend van Spriel wrote:

> It compiles, but I guess nla_put() will fail for u8[0+8-1/8] field.

I think it should work - the array is 0 bytes long, so sizeof() would
return 0, and that turns out to be equivalent to nla_put_flag().

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux