1. 24 Feb, 2024 2 commits
    • Arnd Bergmann's avatar
      crypto: arm/sha - fix function cast warnings · 53cc9bae
      Arnd Bergmann authored
      clang-16 warns about casting between incompatible function types:
      
      arch/arm/crypto/sha256_glue.c:37:5: error: cast from 'void (*)(u32 *, const void *, unsigned int)' (aka 'void (*)(unsigned int *, const void *, unsigned int)') to 'sha256_block_fn *' (aka 'void (*)(struct sha256_state *, const unsigned char *, int)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
         37 |                                 (sha256_block_fn *)sha256_block_data_order);
            |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      arch/arm/crypto/sha512-glue.c:34:3: error: cast from 'void (*)(u64 *, const u8 *, int)' (aka 'void (*)(unsigned long long *, const unsigned char *, int)') to 'sha512_block_fn *' (aka 'void (*)(struct sha512_state *, const unsigned char *, int)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
         34 |                 (sha512_block_fn *)sha512_block_data_order);
            |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Fix the prototypes for the assembler functions to match the typedef.
      The code already relies on the digest being the first part of the
      state structure, so there is no change in behavior.
      
      Fixes: c80ae7ca ("crypto: arm/sha512 - accelerated SHA-512 using ARM generic ASM and NEON")
      Fixes: b59e2ae3 ("crypto: arm/sha256 - move SHA-224/256 ASM/NEON implementation to base layer")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      53cc9bae
    • Giovanni Cabiddu's avatar
      Documentation: qat: fix auto_reset section · 2ecd4341
      Giovanni Cabiddu authored
      Remove unneeded colon in the auto_reset section.
      
      This resolves the following errors when building the documentation:
      
          Documentation/ABI/testing/sysfs-driver-qat:146: ERROR: Unexpected indentation.
          Documentation/ABI/testing/sysfs-driver-qat:146: WARNING: Block quote ends without a blank line; unexpected unindent.
      
      Fixes: f5419a42 ("crypto: qat - add auto reset on error")
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Closes: https://lore.kernel.org/linux-kernel/20240212144830.70495d07@canb.auug.org.au/T/Signed-off-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      2ecd4341
  2. 17 Feb, 2024 7 commits
  3. 09 Feb, 2024 12 commits
  4. 02 Feb, 2024 5 commits
  5. 26 Jan, 2024 14 commits