tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Converting kernel printf() to aprint_*() or log()



In article <alpine.LRH.2.11.1411112240340.3356%dis.invisible.ca@localhost>,
Jared McNeill  <jmcneill%invisible.ca@localhost> wrote:
>On Tue, 11 Nov 2014, Martin Husemann wrote:
>
>> - create a log_dev(device_t, const char *fmt, ...) function and use that
>>   in drivers instead of printf() when not in the driver's *_attach()
>>   function (or functions only called from that); use log(9) where
>>   appropriate instead for printfs not using device_xname().
>
>We already have device_printf() for this.

It does not take a level...

christos



Home | Main Index | Thread Index | Old Index