diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-28 03:12:25 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-14 04:34:41 -0400 |
commit | feddbb34ebd75e9b6bf573b852079e327a88c07a (patch) | |
tree | 99b11dc996e6ce633c332a165a073e76cb05601c /drivers/mtd/ubi/scan.c | |
parent | 3627924acf70a9a26587712e4888ee7144489678 (diff) |
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>
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r-- | drivers/mtd/ubi/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c index d2d12ab7def4..2135a53732ff 100644 --- a/drivers/mtd/ubi/scan.c +++ b/drivers/mtd/ubi/scan.c | |||
@@ -1103,7 +1103,7 @@ static int check_what_we_have(struct ubi_device *ubi, struct ubi_scan_info *si) | |||
1103 | * otherwise, only print a warning. | 1103 | * otherwise, only print a warning. |
1104 | */ | 1104 | */ |
1105 | if (si->corr_peb_count >= max_corr) { | 1105 | if (si->corr_peb_count >= max_corr) { |
1106 | ubi_err("too many corrupted PEBs, refusing this device"); | 1106 | ubi_err("too many corrupted PEBs, refusing"); |
1107 | return -EINVAL; | 1107 | return -EINVAL; |
1108 | } | 1108 | } |
1109 | } | 1109 | } |