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 | 3d41f1652c8ab4b0bdd59efea57747b75130e8d3 (patch) | |
tree | 7dcda6dd00b39a1cf0a038df25cca76a1b213a09 /target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch | |
parent | 24e4b5bc83d830fd5299ccc9265f56d2ae12c4c8 (diff) | |
download | master-187ad058-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.tar.gz master-187ad058-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.tar.bz2 master-187ad058-3d41f1652c8ab4b0bdd59efea57747b75130e8d3.zip |
[adm5120] cleanup files using checkpatch.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27162 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch b/target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch index 93149df401..1abc843677 100644 --- a/target/linux/adm5120/patches-2.6.38/901-adm5120-usb-fix-compiler-warning.patch +++ b/target/linux/adm5120/patches-2.6.38/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; \ |