un4i-ss-cipher.c warning

From: Michal Suchanek
Date: Wed Aug 19 2015 - 10:36:23 EST


Hello,

when building a kernel with sunxi crypto driver as merged into the
sinxi-wip branch I get a compiler warning.

I am not sure this is the latest version of the driver. It does not
seem to be in mainline yet.

Thanks

Michal

In file included from /scratch/build/linux/include/linux/printk.h:277:0,
from /scratch/build/linux/include/linux/kernel.h:13,
from /scratch/build/linux/include/linux/clk.h:16,
from
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss.h:15,
from
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:17:
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In
function âsun4i_ss_cipher_pollâ:
/scratch/build/linux/include/linux/dynamic_debug.h:86:3: warning:
âtodoâ may be used uninitialized in this function
[-Wmaybe-uninitialized]
__dynamic_dev_dbg(&descriptor, dev, fmt, \
^
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:144:15:
note: âtodoâ was declared here
unsigned int todo;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/