Re: [PATCH -next] crypto: api: Do not access module name directly from module structure

2015-04-25 Thread Guenter Roeck
On Sat, Apr 25, 2015 at 06:38:03AM +0800, Herbert Xu wrote: On Fri, Apr 24, 2015 at 08:58:03AM -0700, Guenter Roeck wrote: 'struct module' is only fully declared if CONFIG_MODULES is configured. If not, the build fails with crypto/algapi.c: In function 'crypto_check_module_sig':

[PATCH -next] crypto: api: Do not access module name directly from module structure

2015-04-25 Thread Guenter Roeck
'struct module' is only fully declared if CONFIG_MODULES is configured. If not, the build fails with crypto/algapi.c: In function 'crypto_check_module_sig': crypto/algapi.c:49:12: error: dereferencing pointer to incomplete type Fixes: 59afdc7b3214 (crypto: api - Move module sig ifdef into

Re: [PATCH -next] crypto: api: Do not access module name directly from module structure

2015-04-24 Thread Herbert Xu
On Fri, Apr 24, 2015 at 08:58:03AM -0700, Guenter Roeck wrote: 'struct module' is only fully declared if CONFIG_MODULES is configured. If not, the build fails with crypto/algapi.c: In function 'crypto_check_module_sig': crypto/algapi.c:49:12: error: dereferencing pointer to incomplete type