• Herbert Xu's avatar
    crypto: caam/qi* - Use cpumask_var_t instead of cpumask_t · f5903f50
    Herbert Xu authored
    Switch cpumask_t to cpumask_var_t as the former may be too big
    for the stack:
    
      CC [M]  drivers/crypto/caam/qi.o
      CC [M]  drivers/crypto/caam/caamalg_qi2.o
    ../drivers/crypto/caam/qi.c: In function ‘caam_qi_init’:
    ../drivers/crypto/caam/qi.c:808:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      808 | }
          | ^
      CHECK   ../drivers/crypto/caam/qi.c
    ../drivers/crypto/caam/caamalg_qi2.c: In function ‘dpaa2_dpseci_setup’:
    ../drivers/crypto/caam/caamalg_qi2.c:5135:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
     5135 | }
          | ^
    
    Also fix the error path handling in qi.c.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    f5903f50
qi.c 19.6 KB