summarylogtreecommitdiffstats
path: root/linux-4.3.patch
diff options
context:
space:
mode:
authorArpan Kapoor2016-01-02 23:41:25 +0530
committerArpan Kapoor2016-01-02 23:41:25 +0530
commit2065c9ccec22dfe1032b7eec09123ff3995fd700 (patch)
tree8bc699ba655ec0b5c22d25bb1b2eb8fd114c8dc5 /linux-4.3.patch
parentb422b5b95d72e7354c24e98425cc87b8b6771ff6 (diff)
downloadaur-2065c9ccec22dfe1032b7eec09123ff3995fd700.tar.gz
Fix use of function seq_printf returning void
The return value of the function seq_printf was converted to void with the commit 6798a8caaf64fa68b9ab2044e070fe4545034e03 to Torvalds' linux tree.
Diffstat (limited to 'linux-4.3.patch')
-rw-r--r--linux-4.3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/linux-4.3.patch b/linux-4.3.patch
new file mode 100644
index 000000000000..d1336b4c6beb
--- /dev/null
+++ b/linux-4.3.patch
@@ -0,0 +1,22 @@
+diff --git a/include/rtw_debug.h b/include/rtw_debug.h
+index bf36357..86d0728 100644
+--- a/include/rtw_debug.h
++++ b/include/rtw_debug.h
+@@ -227,7 +227,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
+ if (sel == RTW_DBGDUMP)\
+ _DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
+ else {\
+- if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
++ _seqdump(sel, fmt, ##arg); /*rtw_warn_on(1)*/ \
+ } \
+ }while(0)
+
+@@ -237,7 +237,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
+ if (sel == RTW_DBGDUMP)\
+ DBG_871X_LEVEL(_drv_always_, fmt, ##arg); \
+ else {\
+- if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
++ _seqdump(sel, fmt, ##arg); /*rtw_warn_on(1)*/ \
+ } \
+ }while(0)
+