On Thu, 2014-04-10 at 09:13 +0300, Arik Nemtsov wrote: > On Wed, Apr 9, 2014 at 10:16 PM, Johannes Berg > <johannes@xxxxxxxxxxxxxxxx> wrote: > > +static void reg_free_last_request(struct regulatory_request *lr) > > > > Isn't it odd to pass the last request to a function called > > reg_free_last_request()? > > > > It makes sense to me. Non-last requests are freed using kfree. The > last request needs RCU. Yeah but there can only be one "last request", so why pass it? 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