Re: [PATCH 4/4] Input-gameport: Replace some printk() calls by pr_info() in joydump_connect()
From: SF Markus Elfring
Date: Sat Sep 24 2016 - 12:42:03 EST
>> @@ -57,27 +57,29 @@ static int joydump_connect(struct gameport *gameport, struct gameport_driver *dr
>>> unsigned long flags;
>>> unsigned char u;
>>
>>> - printk(KERN_INFO "joydump: ,------------------ START ----------------.\n");
>>> - printk(KERN_INFO "joydump: | Dumping: %30s |\n", gameport->phys);
>>> - printk(KERN_INFO "joydump: | Speed: %28d kHz |\n", gameport->speed);
>>> + pr_info(",------------------ START ----------------.\n"
>>> + "| Dumping: %30s |\n"
>>> + "| Speed: %28d kHz |\n",
>>> + gameport->phys,
>>> + gameport->speed);
>
> Not the same output.
Do you insist that each line from a multi-line text that is passed by such a single logging call
contains the same module prefix?
Regards,
Markus