diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-07-26 11:39:29 +0300 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2022-08-01 04:14:07 +0300 |
commit | 512b74d17a93ae580171258a32590b5a4fee5866 (patch) | |
tree | 239c696c3ce957e9b2eb98a38132d97dd9d5638f /fs/exfat/fatent.c | |
parent | 64fca6e621715fde548ad1a96ac5e6a2f586763a (diff) | |
download | linux-512b74d17a93ae580171258a32590b5a4fee5866.tar.xz |
exfat: Drop superfluous new line for error messages
exfat_err() adds the new line at the end of the message by itself,
hence the passed string shouldn't contain a new line. Drop the
superfluous newline letters in the error messages in a few places that
have been put mistakenly.
Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/fatent.c')
-rw-r--r-- | fs/exfat/fatent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exfat/fatent.c b/fs/exfat/fatent.c index 9de6a6b844c9..ee0b7cf51157 100644 --- a/fs/exfat/fatent.c +++ b/fs/exfat/fatent.c @@ -331,7 +331,7 @@ int exfat_alloc_cluster(struct inode *inode, unsigned int num_alloc, /* find new cluster */ if (hint_clu == EXFAT_EOF_CLUSTER) { if (sbi->clu_srch_ptr < EXFAT_FIRST_CLUSTER) { - exfat_err(sb, "sbi->clu_srch_ptr is invalid (%u)\n", + exfat_err(sb, "sbi->clu_srch_ptr is invalid (%u)", sbi->clu_srch_ptr); sbi->clu_srch_ptr = EXFAT_FIRST_CLUSTER; } |