On Wed, Jan 27, 2016 at 1:43 AM, Ioana Ciornei <ciorneiioana@xxxxxxxxx> wrote: > > This patchset makes some small code cleanup on the messenger code from net/ceph. > Most of the patches are a result of running checkpatch.pl on > net/ceph/messenger.c > > > Ioana Ciornei (6): > net: ceph: messenger: remove unnecessary blank spaces > net: ceph: messenger: fix coding style comparison to NULL > net: ceph: messenger: add blank line after declarations > net: ceph: messenger: properly align function parameters > net: ceph: messenger: change printk to pr_warn > net: ceph: messenger: add braces to all arms of conditional statement > > net/ceph/messenger.c | 207 ++++++++++++++++++++++++++------------------------- > 1 file changed, 107 insertions(+), 100 deletions(-) Hi Ioana, Most of above (especially patch 4/6) just clutters the history (think "git blame" output) and, more importantly, complicates backporting of future fixes to older kernels for no benefit at all. There is a reason checkpatch.pl is called "check" "patch" - it is to be run on patches, not files, with pretty much the only exception to that being code in drivers/staging. In certain cases, it might be OK to use it on existing files to fix what it classifies as errors, but fixing warnings or so called checks does more harm than good in most cases. Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html