mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
df807a1995
In the case where skb->ip_summed != CHECKSUM_PARTIAL then cntrl contains
garbage value and this is possibly being bit-wise or'd and stored into
cpl->ctrl1. Fix this by initializing cntrl to zero.
Cleans up clang warning:
drivers/crypto/chelsio/chcr_ipsec.c:374:9: warning: The left expression
of the compound assignment is an uninitialized value. The computed value
will also be garbage
Fixes:
|
||
---|---|---|
.. | ||
chcr_algo.c | ||
chcr_algo.h | ||
chcr_core.c | ||
chcr_core.h | ||
chcr_crypto.h | ||
chcr_ipsec.c | ||
Kconfig | ||
Makefile |