On Wed, Mar 02, 2011 at 09:08:44AM +0100, Arend van Spriel wrote: > + if (var) { > + unsigned long value; > + > + strict_strtoul(var, 0, > + (unsigned long *)&value); No cast needed. > + wl_msg_level = value; > + } > + } > + if (phymsglevel != 0xdeadbeef) > + phyhal_msg_level = phymsglevel; > + else { > + char *var = getvar(NULL, "phy_msglevel"); > + if (var) { > + unsigned long value; > + > + strict_strtoul(var, 0, > + (unsigned long *)&value); No cast needed. regards, dan carpenter > + phyhal_msg_level = value; > } > } > #endif /* BCMDBG */ > -- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel