UBI: fix minor stylistic issues
Fix checkpatch.pl errors and warnings: * space before tab * line over 80 characters * include linux/ioctl.h instead of asm/ioctl.h Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
@@ -115,7 +115,7 @@ static int vol_cdev_open(struct inode *inode, struct file *file)
|
||||
mode = UBI_READONLY;
|
||||
|
||||
dbg_gen("open device %d, volume %d, mode %d",
|
||||
ubi_num, vol_id, mode);
|
||||
ubi_num, vol_id, mode);
|
||||
|
||||
desc = ubi_open_volume(ubi_num, vol_id, mode);
|
||||
if (IS_ERR(desc))
|
||||
@@ -158,7 +158,7 @@ static loff_t vol_cdev_llseek(struct file *file, loff_t offset, int origin)
|
||||
loff_t new_offset;
|
||||
|
||||
if (vol->updating) {
|
||||
/* Update is in progress, seeking is prohibited */
|
||||
/* Update is in progress, seeking is prohibited */
|
||||
dbg_err("updating");
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user