Re: dev_printk() is now GPL-only

From: Greg KH
Date: Sun Aug 06 2006 - 23:09:52 EST


On Sun, Aug 06, 2006 at 08:57:23PM -0600, Matthew Wilcox wrote:
>
> Does dev_driver_string() really need to be GPL-only? Up to this point,
> proprietary modules have been entitled to call dev_printk(), but now:
>
> #define dev_printk(level, dev, format, arg...) \
> printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg)
>
> with
>
> EXPORT_SYMBOL_GPL(dev_driver_string);
>
> means that they're not allowed to.

Oops, good point, I never noticed, as I don't have an closed source
drivers here to test with :)

Care to send me a patch to fix it up?

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/