]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: api - Fix build error when modules are disabled
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:48:05 +0000 (14:48 +0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 19:43:06 +0000 (14:43 -0500)
commit239cb8a6ad0d2e904ec620edab12a20a85530f38
tree21a2d7ab93a66c1e938b7aefc6ffed8cc5d374f1
parentd535d86805fee2a4a5568842eedb0e972feadcc2
crypto: api - Fix build error when modules are disabled

The commit 59afdc7b32143528524455039e7557a46b60e4c8 ("crypto:
api - Move module sig ifdef into accessor function") broke the
build when modules are completely disabled because we directly
dereference module->name.

This patch fixes this by using the accessor function module_name.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit bd4a7c69aaed79ae1a299db8063fe4daf5e4a2f1)

Orabug: 24614549

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
crypto/algapi.c