Skip to contentSkip to conversation

2.5.47-mm3

DISCUSSION Con Kolivas 3 participants 3 messages Nov 15, 2002 – Nov 16, 2002

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I dont have anything crypto enabled in the config

In file included from include/net/xfrm.h:6,

                 from net/core/skbuff.c:61:

include/linux/crypto.h: In function `crypto_tfm_alg_modname':
include/linux/crypto.h:202: dereferencing pointer to incomplete type include/linux/crypto.h:205: warning: control reaches end of non-void function make[2]: *** [net/core/skbuff.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2

Con
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE91YApF6dfvkL3i1gRAoCsAKCVHM1sZofeuVSK7HLZO9RyjQe+kACeKPoz vdAtgtG2/8DAqe6Vz03Mn8k=
=IFnQ
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 3 lines · Con Kolivas

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(yuk)

Quoted 10 lines

I dont have anything crypto enabled in the config

In file included from include/net/xfrm.h:6,

                 from net/core/skbuff.c:61:

include/linux/crypto.h: In function `crypto_tfm_alg_modname':
include/linux/crypto.h:202: dereferencing pointer to incomplete type include/linux/crypto.h:205: warning: control reaches end of non-void function make[2]: *** [net/core/skbuff.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2

Looks like you have CONFIG_MODULES=n, but crypto_tfm_alg_modname() is unconditionally accessing module->name.

Suggest you enable modules, and set all your drivers to "y".

#2 lore raw
Quoted 10 lines · Andrew Morton
Quoted 4 lines · Con Kolivas

In file included from include/net/xfrm.h:6,

                 from net/core/skbuff.c:61:

include/linux/crypto.h: In function `crypto_tfm_alg_modname':
include/linux/crypto.h:202: dereferencing pointer to incomplete type

Looks like you have CONFIG_MODULES=n, but crypto_tfm_alg_modname() is unconditionally accessing module->name.

This will be fixed with Rusty's module_name() patch.

- James

Signature · 2 lines
James Morris
<[email protected]>