On Wed, 2010-03-17 at 23:21 -0700, Joe Perches wrote: > Convert direct uses of [ (foo - SIOCIWFIRST) , fn) > > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> ... > static const iw_handler wl3501_handler[] = { > - [SIOCGIWNAME - SIOCIWFIRST] = wl3501_get_name, ... > + STD_IW_HANDLER(SIOCGIWNAME, wl3501_get_name), You are introducing an unnecessary cast here. That's bad. -- Regards, Pavel Roskin -- 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