From: Matthew Wilcox <matthew@wil.cx>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: dev_printk() is now GPL-only
Date: Sun, 6 Aug 2006 20:57:23 -0600 [thread overview]
Message-ID: <20060807025723.GK4379@parisc-linux.org> (raw)
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.
next reply other threads:[~2006-08-07 2:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-07 2:57 Matthew Wilcox [this message]
2006-08-07 3:09 ` dev_printk() is now GPL-only Greg KH
2006-09-24 5:35 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060807025723.GK4379@parisc-linux.org \
--to=matthew@wil.cx \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.