![]() |
|
|
#17 | ||
|
Senior Member
Регистрация: 15.07.2014
Сообщений: 939
Вес репутации: 991 ![]() ![]() ![]() ![]() ![]() |
Dioptimizer
Цитата:
Здесь как обновиться и здесь Проверил, отсюда качается, правда как так с feed будет не знаю Код:
git clone git://github.com/openwrt/archive.git -b v12.09 Цитата:
патчКод:
+Index: iscsitarget-1.4.20.3+svn502/kernel/nthread.c
+===================================================================
+--- iscsitarget-1.4.20.3+svn502.orig/kernel/nthread.c
++++ iscsitarget-1.4.20.3+svn502/kernel/nthread.c
+@@ -126,7 +126,7 @@ static int do_recv(struct iscsi_conn *co
+
+ oldfs = get_fs();
+ set_fs(get_ds());
+- res = sock_recvmsg(conn->sock, &msg, len, MSG_DONTWAIT | MSG_NOSIGNAL);
++ res = sock_recvmsg(conn->sock, &msg, MSG_DONTWAIT | MSG_NOSIGNAL);
+ set_fs(oldfs);
+
+ if (res <= 0) {
[свернуть] Сделал так attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/scst-3.3.x-r8497/iscsi-scst/kernel/nthread.c Код:
- res = sock_recvmsg(conn->sock, msg, + res = sock_recvmsg(conn->sock, msg, len, Код:
nthread.c:733:38: error: 'len' undeclared (first use in this function) Код:
#include <linux/sched.h> #include <linux/file.h> #include <linux/kthread.h> #include <linux/delay.h> #include <linux/string.h> Последний раз редактировалось sakatgg; 06.08.2019 в 16:59. |
||
|
|
|
| Метки |
| iscsi, scst |
| Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|