Re: [PATCH] mac8390: change an error return code and some cleanup,take 4

From: David Miller
Date: Mon May 31 2010 - 09:02:22 EST


From: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 May 2010 22:55:23 +1000 (EST)

> if (ei_debug)
> pr_debug(...)
>
> OR
>
> if (ei_debug)
> pr_info(...)

Well for the printk in question, it's telling the user that
a certain feature can't be enabled.

And if the driver has an explicit way to control this message,
using ei_debug, it's kind of redundant to slap another layer on
top by using the debug printk facility.

Changing this to a debug log level printk is only going to make
getting the debug message shown harder for the user. So leaving it at
pr_info() is just as correct in my eyes.

Finally, your patch has so many problems getting applied because
you're doing multiple things in one patch.

And in fact I've asked you not to do this on several occiaions.

Fix the error return codes in one patch, and nothing more.
Then in another you can masterbate with printk log levels.
--
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/