From: Carlos Palminha <CARLOS.PALMINHA@synopsys.com>
To: <linux-kernel@vger.kernel.org>
Cc: <hirofumi@mail.parknet.co.jp>, <viro@zeniv.linux.org.uk>,
<CARLOS.PALMINHA@synopsys.com>
Subject: [PATCH 3/3] fat: fix quoted string splits
Date: Sat, 15 Jul 2017 00:05:50 +0100 [thread overview]
Message-ID: <20170714230550.9435-4-palminha@synopsys.com> (raw)
In-Reply-To: <20170714230550.9435-1-palminha@synopsys.com>
corrects quoted string split across lines, based on checkpatch.
Signed-off-by: Carlos Palminha <palminha@synopsys.com>
---
fs/fat/cache.c | 4 ++--
fs/fat/inode.c | 18 ++++++++++--------
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/fs/fat/cache.c b/fs/fat/cache.c
index 470b4831079e..1fa1fd72bcfb 100644
--- a/fs/fat/cache.c
+++ b/fs/fat/cache.c
@@ -250,8 +250,8 @@ int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus)
/* prevent the infinite loop of cluster chain */
if (*fclus > limit) {
fat_fs_error_ratelimit(sb,
- "%s: detected the cluster chain loop"
- " (i_pos %lld)", __func__,
+ "%s: detected the cluster chain loop (i_pos %lld)",
+ __func__,
MSDOS_I(inode)->i_pos);
nr = -EIO;
goto out;
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 8d65174b7d75..23ffac04ec7b 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1673,8 +1673,8 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
/* Verify that the larger boot sector is fully readable */
bh_resize = sb_bread(sb, 0);
if (bh_resize == NULL) {
- fat_msg(sb, KERN_ERR, "unable to read boot sector"
- " (logical sector size = %lu)",
+ fat_msg(sb, KERN_ERR,
+ "unable to read boot sector (logical sector size = %lu)",
sb->s_blocksize);
goto out_fail;
}
@@ -1710,15 +1710,16 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
fsinfo_bh = sb_bread(sb, sbi->fsinfo_sector);
if (fsinfo_bh == NULL) {
- fat_msg(sb, KERN_ERR, "bread failed, FSINFO block"
- " (sector = %lu)", sbi->fsinfo_sector);
+ fat_msg(sb, KERN_ERR,
+ "bread failed, FSINFO block (sector = %lu)",
+ sbi->fsinfo_sector);
goto out_fail;
}
fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data;
if (!IS_FSINFO(fsinfo)) {
- fat_msg(sb, KERN_WARNING, "Invalid FSINFO signature: "
- "0x%08x, 0x%08x (sector = %lu)",
+ fat_msg(sb, KERN_WARNING,
+ "Invalid FSINFO signature: 0x%08x, 0x%08x (sector = %lu)",
le32_to_cpu(fsinfo->signature1),
le32_to_cpu(fsinfo->signature2),
sbi->fsinfo_sector);
@@ -1745,8 +1746,9 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
sbi->dir_entries = bpb.fat_dir_entries;
if (sbi->dir_entries & (sbi->dir_per_block - 1)) {
if (!silent)
- fat_msg(sb, KERN_ERR, "bogus number of directory entries"
- " (%u)", sbi->dir_entries);
+ fat_msg(sb, KERN_ERR,
+ "bogus number of directory entries (%u)",
+ sbi->dir_entries);
goto out_invalid;
}
--
2.11.0
next prev parent reply other threads:[~2017-07-14 23:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 23:05 [PATCH 0/3] fat: fix several checkpatch warnings Carlos Palminha
2017-07-14 23:05 ` [PATCH 1/3] fat: remove prohibited spaces Carlos Palminha
2017-07-14 23:05 ` [PATCH 2/3] fat: add missing blank lines Carlos Palminha
2017-07-14 23:05 ` Carlos Palminha [this message]
2017-07-15 1:20 ` [PATCH 3/3] fat: fix quoted string splits Andy Shevchenko
2017-07-15 4:18 ` Joe Perches
2017-07-16 13:46 ` Andy Shevchenko
2017-07-16 15:06 ` Joe Perches
2017-07-16 15:30 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170714230550.9435-4-palminha@synopsys.com \
--to=carlos.palminha@synopsys.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.