Re: [PATCH] Driver core: Reduce the level of request_firmware() messages

From: Jaswinder Singh Rajput
Date: Mon Mar 15 2010 - 19:55:19 EST


Hello Rafael,

On Tue, Mar 16, 2010 at 5:10 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> On Tuesday 16 March 2010, Jaswinder Singh Rajput wrote:
>> Hello Rafael,
>>
>> On Tue, Mar 16, 2010 at 2:57 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
>> >
>> > I still think it's a good idea.  The information about what firmware is being
>> > used doesn't seem to be very useful for anything but debugging, so I think
>> > KERN_DEBUG is actually the right level for these messages.
>> >
>>
>> Can we use printk_once()
>
> Yes, I guess so.
>
> OK, I'll rework the patch.
>

Good, so you need to prepare printk_once() with condition like in our
case so that it prints once for a particular name.

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