summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:06:06 +0000
commit0bca3f9547a32788f8c5f18f229b3d09e81a7617 (patch)
tree4641708ce14c626b02b44f26466912615be05603 /target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
parentdd31da467f6bb066fbd809097e7d5dc5822d14e1 (diff)
downloadmtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.zip
mtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.tar.gz
mtk-20170518-0bca3f9547a32788f8c5f18f229b3d09e81a7617.tar.bz2
atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41091
Diffstat (limited to 'target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch')
-rw-r--r--target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch b/target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
index d901b08..55de500 100644
--- a/target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
+++ b/target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
@@ -47,7 +47,7 @@
}
#endif
for ( ; i<nrparts; i++) {
-- if(max_offset < buf[i].flash_base + buf[i].size)
+- if (max_offset < buf[i].flash_base + buf[i].size)
- max_offset = buf[i].flash_base + buf[i].size;
parts[i].size = fl->img->size;
parts[i].offset = fl->img->flash_base;