diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-28 05:20:51 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-28 05:20:51 -0500 |
commit | f2863c54f30cccb50661697a6e4bdcd0ad0b0a6c (patch) | |
tree | e344a6dfcf693191f3e6a8d12a91ab37a1bafed6 /drivers/mtd/ubi/io.c | |
parent | 7b6c32daec3bff380ced6822002bc352bdf2c982 (diff) |
UBI: fix checkpatch.pl warnings
Just minor indentation and "over 80 characters" fixes.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/io.c')
-rw-r--r-- | drivers/mtd/ubi/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index f60f700256f6..a74118c05745 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c | |||
@@ -1034,7 +1034,7 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum, | |||
1034 | 1034 | ||
1035 | err = paranoid_check_peb_ec_hdr(ubi, pnum); | 1035 | err = paranoid_check_peb_ec_hdr(ubi, pnum); |
1036 | if (err) | 1036 | if (err) |
1037 | return err > 0 ? -EINVAL: err; | 1037 | return err > 0 ? -EINVAL : err; |
1038 | 1038 | ||
1039 | vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC); | 1039 | vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC); |
1040 | vid_hdr->version = UBI_VERSION; | 1040 | vid_hdr->version = UBI_VERSION; |