]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - Remove unused JUMP_TYPE_MASK definition
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 15 Sep 2015 16:54:53 +0000 (13:54 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:00:40 +0000 (22:00 +0800)
commitb34ca4128d4364c7bd7c9623129781e14db60f93
treeac46796493cd3d8c1a7f8cb86734cefa2ac1cfe2
parent1b5a839fc7de9f9b34ec4c98371fd979c0ad6cbc
crypto: caam - Remove unused JUMP_TYPE_MASK definition

Commit 46e83d797bd5282 ("jump_label, locking/static_keys: Rename
JUMP_LABEL_TYPE_* and related helpers to the static_key* pattern")
introduced the definition of JUMP_TYPE_MASK in
include/linux/jump_label.h causing the following name collision:

In file included from drivers/crypto/caam/desc_constr.h:7:0,
                 from drivers/crypto/caam/ctrl.c:15:
drivers/crypto/caam/desc.h:1495:0: warning: "JUMP_TYPE_MASK" redefined
 #define JUMP_TYPE_MASK  (0x03 << JUMP_TYPE_SHIFT)
 ^
In file included from include/linux/module.h:19:0,
                 from drivers/crypto/caam/compat.h:9,
                 from drivers/crypto/caam/ctrl.c:11:
include/linux/jump_label.h:131:0: note: this is the location of the previous definition
 #define JUMP_TYPE_MASK 1UL

As JUMP_TYPE_MASK definition in desc.h is never used, we can safely remove
it to avoid the name collision.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Horia Geant? <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/desc.h