Re: [PATCH] dev_printk macro

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Dec 25 2002 - 16:34:25 EST


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/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:08 EST