Re: [PATCH] Keep kernel coding style rule of hfs-s+/sp source

From: David Miller
Date: Wed Feb 01 2012 - 02:06:09 EST


From: Geunsik Lim <geunsik.lim@xxxxxxxxx>
Date: Wed, 1 Feb 2012 15:59:53 +0900

> Modified for kernel coding style rule of hfs-s+/sp device driver .
> . reference: ./Documentation/CodingStyle
>
> ex)
> 60 Don't put multiple statements on a single line unless you have
> 61 something to hide:
> 62
> 63 if (condition) do_this;
> 64 do_something_everytime;
>
> Signed-off-by: Geunsik Lim <geunsik.lim@xxxxxxxxxxx>

This was probably there to eliminate compiler warnings or avoid the
code being eliminated completely, because the result of the register
read is unused.

Have you verified that neither is the case here?

To be honest I very strongly dislike patches like this. You're
patching a driver that very few people use, and changes like this can
only risk possible regressions that will be hard to notice and it's
not like people scour over this driver often and thus will be upset by
frequently seeing some minor coding style infraction.

I'm not applying this patch.
--
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/