Re: [PATCH] ocfs2: Remove space before newline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



…
> Remove it

  Thus delete a redundant character.?


…
> +++ b/fs/ocfs2/super.c
> @@ -2108,7 +2108,7 @@ static int ocfs2_initialize_super(struct super_block *sb,
>  		if (strlen(osb->osb_cluster_stack) != OCFS2_STACK_LABEL_LEN) {
>  			mlog(ML_ERROR,
>  			     "couldn't mount because of an invalid "
> -			     "cluster stack label (%s) \n",
> +			     "cluster stack label (%s)\n",
>  			     osb->osb_cluster_stack);
…

You may recombine such string literals.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.16#n116

Regards,
Markus





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux