[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060807025723.GK4379@parisc-linux.org>
Date: Sun, 6 Aug 2006 20:57:23 -0600
From: Matthew Wilcox <matthew@....cx>
To: Greg KH <greg@...ah.com>
Cc: linux-kernel@...r.kernel.org
Subject: dev_printk() is now GPL-only
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.
On a related note, one might wonder if
return dev->driver ? dev->driver->name :
(dev->bus ? dev->bus->name : "");
really qualifies for the full weight of copyright enforcement, and query
whether using it makes your driver a derived work. Particularly since
all one is doing is asking the kernel for a nice printk prefix and know
nothing about the innards of the device model.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists