[sheepdog] [PATCH 1/2] checkpatch.pl: forbid empty lines after break; line

Hitoshi Mitake h.mitake at gmail.com
Thu Jan 17 18:06:28 CET 2013


At Fri, 18 Jan 2013 01:56:11 +0900,
Hitoshi Mitake wrote:
> 
> This patch lets checkpatch.pl forbid empty lines after break; line.
> 
> For example, a patch which contains
> 
> +	break;
> +
> 
> like this causes an error.

Sorry, I noticed this patch treats correct diffs like this as errors:

+	if (0)
+		break;
+

I have to focus on switch statements only.
I'll update this one later... 

Thanks,
Hitoshi



More information about the sheepdog mailing list