Re: [PATCH] dev_printk macro

Alan Cox (alan@lxorguk.ukuu.org.uk)
25 Dec 2002 21:34:25 +0000


On Mon, 2002-12-23 at 00:46, Randy.Dunlap wrote:
>
> Hi LKML,
>
> I'm glad to see this patch available, as Greg was.
> Now I have some questions about it.
>
> a. Is it only for drivers? If so, why?
> Filesystems and other subsystems that are not drivers could use
> something like this also.

Definitely - fs_printk, inode_printk etc may all make sense
>
> b. Is it only for drivers that have a device?
> What does a driver use for dev_printk() if it doesn't have a <dev>?
> However, these do cover the large majority of cases, so that's good.

This case isnt covered. All devices should eventually have a dev right
8)

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