Patrick McHardy <kaber@xxxxxxxxx> writes: > Samir Bellabes wrote: >> +static const struct nla_policy snet_genl_policy[SNET_A_MAX + 1] >> +__read_mostly = { > > You don't need __read_mostly for const. If I recall correctly, it even > causes an error with certain compiler or linker versions. fixed, thanks Patrick I didn't had errors with (fedora core 11): gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) GNU ld version 2.19.51.0.2-17.fc11 20090204 nor (ubuntu 9.10): gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 GNU ld (GNU Binutils for Ubuntu) 2.20 (2.20-0ubuntu2) sam -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html