Skip to contentSkip to conversation

patch INP3 for kernel 3.6

DISCUSSION Waldek 2 participants 2 messages Sep 26, 2013 – Oct 11, 2013

lore
Share & tools
lore

Waldek

author
#0 lore raw

Ok I have try compile kernel 3.6 with fixed rejected netrom.h and patch don't working with 3.6 kernel

CC [M] net/netrom/af_netrom.o
In file included from net/netrom/af_netrom.c:40:0:
include/net/netrom.h:72:27: warning: declaration does not declare anything [enabled by default] net/netrom/af_netrom.c: In function 'nr_ioctl':
net/netrom/af_netrom.c:1261:3: error: implicit declaration of function 'inp3_set_mnem' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c:1269:3: error: implicit declaration of function 'inp3_get_mnem' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c: In function 'nr_proto_init':
net/netrom/af_netrom.c:1481:2: error: implicit declaration of function 'kinp3d_start' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c: In function 'nr_exit':
net/netrom/af_netrom.c:1512:2: error: implicit declaration of function 'kinp3d_stop' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [net/netrom/af_netrom.o] error 1
make[1]: *** [net/netrom] error 2
make: *** [net] error 2

Dnia Czwartek, 26 Wrze¶nia 2013 10:10 Matt Maguire <[email protected]> napisa³(a)

Quoted 5 lines

I'm not surprised it doesn't apply cleanly -- it is for 2.6 kernel, not 3.6. Even if it did apply, I wouldn't use it until the deadlock issue is addressed -- that's why I was interested to hear that someone else made a patch for 2.6, as I am curious whether they also fixed the deadlock issue inherited from the 2.4 patch.

--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Am 26.09.2013 10:20, schrieb Waldek:

Quoted 18 lines

Ok I have try compile kernel 3.6 with fixed rejected netrom.h and patch don't working with 3.6 kernel

CC [M] net/netrom/af_netrom.o
In file included from net/netrom/af_netrom.c:40:0:
include/net/netrom.h:72:27: warning: declaration does not declare anything [enabled by default] net/netrom/af_netrom.c: In function 'nr_ioctl':
net/netrom/af_netrom.c:1261:3: error: implicit declaration of function 'inp3_set_mnem' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c:1269:3: error: implicit declaration of function 'inp3_get_mnem' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c: In function 'nr_proto_init':
net/netrom/af_netrom.c:1481:2: error: implicit declaration of function 'kinp3d_start' [-Werror=implicit-function-declaration] net/netrom/af_netrom.c: In function 'nr_exit':
net/netrom/af_netrom.c:1512:2: error: implicit declaration of function 'kinp3d_stop' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [net/netrom/af_netrom.o] error 1
make[1]: *** [net/netrom] error 2
make: *** [net] error 2

do not worry,
he is missing the function declaration (inp3_set_mnem,kinp3d_start) only, create them an this problem is fixed. Normaly this is only a warning but "some warnings being treated as errors"

re,
wh

Quoted 9 lines

Dnia Czwartek, 26 Wrze¶nia 2013 10:10 Matt Maguire <[email protected]> napisa³(a)

Quoted 5 lines

I'm not surprised it doesn't apply cleanly -- it is for 2.6 kernel, not 3.6. Even if it did apply, I wouldn't use it until the deadlock issue is addressed -- that's why I was interested to hear that someone else made a patch for 2.6, as I am curious whether they also fixed the deadlock issue inherited from the 2.4 patch.

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html