aboutsummaryrefslogtreecommitdiffstats
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
commitf10e6fd9af01ea8281cc8a20d2722250851673b2 (patch)
tree619048f85f06d4a3624582d70a996ebc88c24684 /target/linux/atheros/patches-3.10/142-redboot_various_erase_size_fix.patch
parent4348822245705290031f879d45078a4fcc09ab2c (diff)
downloadmaster-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.tar.gz
master-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.tar.bz2
master-187ad058-f10e6fd9af01ea8281cc8a20d2722250851673b2.zip
atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41091 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d901b08ffe..55de500ea9 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;