x86: prepare for kernels 2.6.33 & 2.6.34
[openwrt.git] / target / linux / adm5120 / patches-2.6.33 / 901-adm5120-usb-fix-compiler-warning.patch
1 --- a/drivers/usb/host/adm5120-dbg.c
2 +++ b/drivers/usb/host/adm5120-dbg.c
3 @@ -133,7 +133,7 @@ urb_print(struct admhcd *ahcd, struct ur
4
5 #define admhc_dbg_sw(ahcd, next, size, format, arg...) \
6 do { \
7 - if (next) { \
8 + if (next != NULL) { \
9 unsigned s_len; \
10 s_len = scnprintf(*next, *size, format, ## arg ); \
11 *size -= s_len; *next += s_len; \
This page took 0.039 seconds and 5 git commands to generate.