Re: [PATCH] staging: octeon: fixed few coding style warnings

From: Aaro Koskinen
Date: Wed Oct 14 2015 - 15:35:48 EST


Hi,

On Wed, Oct 14, 2015 at 07:36:37PM +0530, Sakshi Bansal wrote:
> Fixed allignment issues and line over 80 characters

You are also doing many other things which are not mention in the
commit log.

> /*
> - printk_ratelimited("Port %d received 0xd5 preamble\n",
> - port);
> + * printk_ratelimited("Port %d received 0xd5 preamble\n"
> + * port);
> */

This is not really an improvement. Either the dead code should be deleted
altogether or converted to debug printk()s. (Probably the idea has been
that those printk()s can be "easily" enabled for debugging by removing
comment start/end marks.)

You also removed a comma there, breaking the syntax...

A.
--
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/