summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-28 09:12:25 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-14 10:34:41 +0200
commitfeddbb34ebd75e9b6bf573b852079e327a88c07a (patch)
tree99b11dc996e6ce633c332a165a073e76cb05601c /drivers/mtd/ubi/scan.c
parentUBI: use __packed instead of __attribute__((packed)) (diff)
downloadlinux-feddbb34ebd75e9b6bf573b852079e327a88c07a.tar.xz
linux-feddbb34ebd75e9b6bf573b852079e327a88c07a.zip
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.c2
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)
* otherwise, only print a warning.
*/
if (si->corr_peb_count >= max_corr) {
- ubi_err("too many corrupted PEBs, refusing this device");
+ ubi_err("too many corrupted PEBs, refusing");
return -EINVAL;
}
}