[OpenWrt-Devel] [PATCH 04/11] BB: lantiq:
Eddi De Pieri
eddi at depieri.net
Fri Oct 31 09:08:55 EDT 2014
MIPS: Fix rtlx build error.
CC arch/mips/kernel/rtlx.o
/home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘file_write’:
/home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:439:23: error: unused variable ‘rt’ [-Werror=unused-variable]
/home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘rtlx_module_init’:
/home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:523:3: error: implicit declaration of function ‘set_vi_handler’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
Caused by 496ad9aa8ef448058e36ca7a787c61f2e63f0f54 [new helper:
file_inode(file)].
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Eddi De Pieri <eddi at depieri.net>
---
.../patches-3.10/0154-fix-rtlx-build-error.patch | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch
diff --git a/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch b/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch
new file mode 100644
index 0000000..dc5264c
--- /dev/null
+++ b/target/linux/lantiq/patches-3.10/0154-fix-rtlx-build-error.patch
@@ -0,0 +1,24 @@
+From b90b3802624e1f2a509f3e9f39775d94ec4762d7 Mon Sep 17 00:00:00 2001
+From: Ralf Baechle <ralf at linux-mips.org>
+Date: Fri, 21 Jun 2013 18:07:03 +0200
+Subject: [PATCH] MIPS: Fix rtlx build error.
+
+---
+ arch/mips/kernel/rtlx.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c
+index 6fa198d..d763f11 100644
+--- a/arch/mips/kernel/rtlx.c
++++ b/arch/mips/kernel/rtlx.c
+@@ -437,7 +437,6 @@
+ size_t count, loff_t * ppos)
+ {
+ int minor = iminor(file_inode(file));
+- struct rtlx_channel *rt = &rtlx->channel[minor];
+
+ /* any space left... */
+ if (!rtlx_write_poll(minor)) {
+
+--
+Gitblit v1.3.1
--
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list