From: jotun9935@gmail.com
To: axboe@kernel.dk, jotun9935@gmail.com
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] partitions: fix coding style
Date: Fri, 14 Dec 2018 16:04:02 +0900 [thread overview]
Message-ID: <20181214070402.92541-1-jotun9935@gmail.com> (raw)
From: Sungkyung Kim <jotun9935@gmail.com>
Fix coding style of osf.c
Signed-off-by: Sungkyung Kim <jotun9935@gmail.com>
---
block/partitions/osf.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/block/partitions/osf.c b/block/partitions/osf.c
index 4b873973d6c0..96921a1e31ce 100644
--- a/block/partitions/osf.c
+++ b/block/partitions/osf.c
@@ -22,7 +22,7 @@ int osf_partition(struct parsed_partitions *state)
unsigned char *data;
struct disklabel {
__le32 d_magic;
- __le16 d_type,d_subtype;
+ __le16 d_type, d_subtype;
u8 d_typename[16];
u8 d_packname[16];
__le32 d_secsize;
@@ -50,8 +50,8 @@ int osf_partition(struct parsed_partitions *state)
u8 p_frag;
__le16 p_cpg;
} d_partitions[MAX_OSF_PARTITIONS];
- } * label;
- struct d_partition * partition;
+ } *label;
+ struct d_partition *partition;
data = read_part_sector(state, 0, §);
if (!data)
@@ -74,7 +74,7 @@ int osf_partition(struct parsed_partitions *state)
}
for (i = 0 ; i < npartitions; i++, partition++) {
if (slot == state->limit)
- break;
+ break;
if (le32_to_cpu(partition->p_size))
put_partition(state, slot,
le32_to_cpu(partition->p_offset),
--
2.18.0
next reply other threads:[~2018-12-14 7:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 7:04 jotun9935 [this message]
2018-12-14 8:47 ` [PATCH] partitions: fix coding style Mukesh Ojha
2018-12-14 10:19 jotun9935
2018-12-14 10:56 ` Mukesh Ojha
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=20181214070402.92541-1-jotun9935@gmail.com \
--to=jotun9935@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).