The CAAM driver has most of its debug messages inside #ifdef DEBUG and then prints them at KERN_ERR level. Do this properly and print the messages at DEBUG_LEVEL as they are supposed to. With this we can get rid of a lot of ifdefs in the code. Sascha Sascha Hauer (3): crypto: caam: remove unused defines crypto: caam: print debug messages at debug level crypto: caam: print messages in caam_dump_sg at debug level drivers/crypto/caam/caamalg.c | 110 ++++++++--------------- drivers/crypto/caam/caamalg_desc.c | 71 ++++----------- drivers/crypto/caam/caamalg_qi.c | 38 +++----- drivers/crypto/caam/caamalg_qi2.c | 4 +- drivers/crypto/caam/caamhash.c | 134 +++++++++-------------------- drivers/crypto/caam/caamrng.c | 16 ++-- drivers/crypto/caam/error.c | 6 +- drivers/crypto/caam/error.h | 2 +- drivers/crypto/caam/key_gen.c | 19 ++-- drivers/crypto/caam/sg_sw_sec4.h | 5 +- 10 files changed, 124 insertions(+), 281 deletions(-) -- 2.20.1