UBI: fix checkpatch.pl warnings
Just minor indentation and "over 80 characters" fixes. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
7b6c32daec
commit
f2863c54f3
3 changed files with 8 additions and 7 deletions
|
@ -1034,7 +1034,7 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,
|
|||
|
||||
err = paranoid_check_peb_ec_hdr(ubi, pnum);
|
||||
if (err)
|
||||
return err > 0 ? -EINVAL: err;
|
||||
return err > 0 ? -EINVAL : err;
|
||||
|
||||
vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC);
|
||||
vid_hdr->version = UBI_VERSION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue