summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-10-17 11:00:50 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-10-23 07:55:43 +0300
commit7fc25ed2bc35c2abe00ebd26af902b5688ead5c4 (patch)
tree7198134cf9b60cfcbfc4056515772c0c9b4d54a9 /scripts/patch-kernel
parentdf0845cf447ae1556c3440b8b155de0926cbaa56 (diff)
downloadlinux-7fc25ed2bc35c2abe00ebd26af902b5688ead5c4.tar.xz
crypto: sun8i-ss - Move j init earlier in sun8i_ss_hash_run
With gcc-14 I get ../drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c: In function ‘sun8i_ss_hash_run’: ../drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c:631:21: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized] 631 | j = hash_pad(bf, 4096, j, byte_count, true, bs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c:493:13: note: ‘j’ was declared here 493 | int j, i, k, todo; | ^ Fix this false positive by moving the initialisation of j earlier. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions