Search Linux Wireless

Re: [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

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

 



On 15.3.2009 21:17, Nick Kossifidis wrote:
+ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp)
+{
+	const static u16 intercepts3[] =
+		{ 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 };
+	const static u16 intercepts3_2[] =
+		{ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 };

Just for future, C99 section 6.11.5 says:
Storage-class specifiers
 The placement of a storage-class specifier other than at the
 beginning of the declaration specifiers in a declaration is
 an obsolescent feature.

It means we should use 'static const' instead of 'const static'.

Otherwise it looks good, thanks.
--
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 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