Re: [PATCH] driver core: device_rename's new_name can be const

From: Greg KH
Date: Thu Aug 05 2010 - 14:05:20 EST


On Thu, Aug 05, 2010 at 05:38:18PM +0200, Johannes Berg wrote:
> The new_name argument to device_rename() can be
> const as kobject_rename's new_name argument is.
>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
> I have a patch that I would like to push into the wireless tree for .37
> that relies on this to not generate a compiler warning, it would be nice
> if this could get into .36 but I don't know if that's possible now.

Yes, it's simple enough for me to get into this merge.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/