summaryrefslogtreecommitdiffstats
path: root/fs/exfat/fatent.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-07-26 10:39:29 +0200
committerNamjae Jeon <linkinjeon@kernel.org>2022-08-01 10:14:07 +0900
commit512b74d17a93ae580171258a32590b5a4fee5866 (patch)
tree239c696c3ce957e9b2eb98a38132d97dd9d5638f /fs/exfat/fatent.c
parent64fca6e621715fde548ad1a96ac5e6a2f586763a (diff)
downloadlinux-stable-512b74d17a93ae580171258a32590b5a4fee5866.tar.gz
linux-stable-512b74d17a93ae580171258a32590b5a4fee5866.tar.bz2
linux-stable-512b74d17a93ae580171258a32590b5a4fee5866.zip
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.c2
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;
}