Skip to content

Commit

Permalink
partitions/msdos.c: end-of-line whitespace and semicolon cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Muyter <[email protected]>
Cc: Karel Zak <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
phdm authored and torvalds committed Jul 9, 2013
1 parent 026dada commit 1d04f3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions block/partitions/msdos.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static int aix_magic_present(struct parsed_partitions *state, unsigned char *p)
if (d[0] == '_' && d[1] == 'L' && d[2] == 'V' && d[3] == 'M')
ret = 1;
put_dev_sector(sect);
};
}
return ret;
}

Expand Down Expand Up @@ -142,7 +142,7 @@ static void parse_extended(struct parsed_partitions *state,
return;

if (!msdos_magic_present(data + 510))
goto done;
goto done;

p = (struct partition *) (data + 0x1be);

Expand All @@ -155,7 +155,7 @@ static void parse_extended(struct parsed_partitions *state,
* and OS/2 seems to use all four entries.
*/

/*
/*
* First process the data partition(s)
*/
for (i=0; i<4; i++, p++) {
Expand Down Expand Up @@ -263,7 +263,7 @@ static void parse_solaris_x86(struct parsed_partitions *state,
}

#if defined(CONFIG_BSD_DISKLABEL)
/*
/*
* Create devices for BSD partitions listed in a disklabel, under a
* dos-like partition. See parse_extended() for more information.
*/
Expand Down Expand Up @@ -294,7 +294,7 @@ static void parse_bsd(struct parsed_partitions *state,

if (state->next == state->limit)
break;
if (p->p_fstype == BSD_FS_UNUSED)
if (p->p_fstype == BSD_FS_UNUSED)
continue;
bsd_start = le32_to_cpu(p->p_offset);
bsd_size = le32_to_cpu(p->p_size);
Expand Down Expand Up @@ -441,7 +441,7 @@ static struct {
{NEW_SOLARIS_X86_PARTITION, parse_solaris_x86},
{0, NULL},
};

int msdos_partition(struct parsed_partitions *state)
{
sector_t sector_size = bdev_logical_block_size(state->bdev) / 512;
Expand Down

0 comments on commit 1d04f3c

Please sign in to comment.