Re: [PATCH] checkpatch: Add warning about submitting patches using--file

From: Dan Carpenter
Date: Mon Sep 02 2013 - 16:37:33 EST


On Mon, Sep 02, 2013 at 12:40:47PM -0700, Joe Perches wrote:
> +WARNING: When using --file mode, do not send patches that just make
> +whitespace or formatting changes unless more significant changes are
> +also made for other reasons in another patch.
> +

This is a run on sentence. Also I don't agree with it. Clean up
patches are good on their own. There are parts of the kernel which are
not just in staging where I refuse to look at because it is so bad.

The problem is that people send "clean up" patches which don't clean up
the code or which make the code worse than the original. All they care
about is pleasing checkpatch.pl instead of actually thinking about what
they are doing. The message should just say something like, "Take a
step back and think about if this actually improves things for human
readers."

regards,
dan carpenter

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