diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
commit | 6a5112a75054f4315c5042dcb83837dc35e0c488 (patch) | |
tree | 37d00c9aac134a7b17b855da089886dcfe2c33c1 /target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch | |
parent | d3b8685cd79e04f6c215e13220b9ba8784ea7e0a (diff) | |
download | upstream-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.gz upstream-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.bz2 upstream-6a5112a75054f4315c5042dcb83837dc35e0c488.zip |
cleanup files using checkpatch.pl
SVN-Revision: 27162
Diffstat (limited to 'target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch b/target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch index 93149df401..1abc843677 100644 --- a/target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch +++ b/target/linux/adm5120/patches-2.6.32/901-adm5120-usb-fix-compiler-warning.patch @@ -4,8 +4,8 @@ #define admhc_dbg_sw(ahcd, next, size, format, arg...) \ do { \ -- if (next) { \ -+ if (next != NULL) { \ - unsigned s_len; \ - s_len = scnprintf(*next, *size, format, ## arg ); \ - *size -= s_len; *next += s_len; \ +- if (next) { \ ++ if (next != NULL) { \ + unsigned s_len; \ + s_len = scnprintf(*next, *size, format, ## arg); \ + *size -= s_len; *next += s_len; \ |