1. 17 5月, 2021 1 次提交
  2. 27 4月, 2021 1 次提交
  3. 23 4月, 2021 2 次提交
  4. 22 4月, 2021 1 次提交
    • R
      crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c · b2a4411a
      Randy Dunlap 提交于
      Fix function name in chacha.c kernel-doc comment to remove a warning.
      
      Convert af_alg.c to kernel-doc notation to eliminate many kernel-doc
      warnings.
      
      ../lib/crypto/chacha.c:77: warning: expecting prototype for chacha_block(). Prototype was for chacha_block_generic() instead
      chacha.c:104: warning: Excess function parameter 'out' description in 'hchacha_block_generic'
      
      af_alg.c:498: warning: Function parameter or member 'sk' not described in 'af_alg_alloc_tsgl'
      ../crypto/af_alg.c:539: warning: expecting prototype for aead_count_tsgl(). Prototype was for af_alg_count_tsgl() instead
      ../crypto/af_alg.c:596: warning: expecting prototype for aead_pull_tsgl(). Prototype was for af_alg_pull_tsgl() instead
      af_alg.c:663: warning: Function parameter or member 'areq' not described in 'af_alg_free_areq_sgls'
      af_alg.c:700: warning: Function parameter or member 'sk' not described in 'af_alg_wait_for_wmem'
      af_alg.c:700: warning: Function parameter or member 'flags' not described in 'af_alg_wait_for_wmem'
      af_alg.c:731: warning: Function parameter or member 'sk' not described in 'af_alg_wmem_wakeup'
      af_alg.c:757: warning: Function parameter or member 'sk' not described in 'af_alg_wait_for_data'
      af_alg.c:757: warning: Function parameter or member 'flags' not described in 'af_alg_wait_for_data'
      af_alg.c:757: warning: Function parameter or member 'min' not described in 'af_alg_wait_for_data'
      af_alg.c:796: warning: Function parameter or member 'sk' not described in 'af_alg_data_wakeup'
      af_alg.c:832: warning: Function parameter or member 'sock' not described in 'af_alg_sendmsg'
      af_alg.c:832: warning: Function parameter or member 'msg' not described in 'af_alg_sendmsg'
      af_alg.c:832: warning: Function parameter or member 'size' not described in 'af_alg_sendmsg'
      af_alg.c:832: warning: Function parameter or member 'ivsize' not described in 'af_alg_sendmsg'
      af_alg.c:985: warning: Function parameter or member 'sock' not described in 'af_alg_sendpage'
      af_alg.c:985: warning: Function parameter or member 'page' not described in 'af_alg_sendpage'
      af_alg.c:985: warning: Function parameter or member 'offset' not described in 'af_alg_sendpage'
      af_alg.c:985: warning: Function parameter or member 'size' not described in 'af_alg_sendpage'
      af_alg.c:985: warning: Function parameter or member 'flags' not described in 'af_alg_sendpage'
      af_alg.c:1040: warning: Function parameter or member 'areq' not described in 'af_alg_free_resources'
      af_alg.c:1059: warning: Function parameter or member '_req' not described in 'af_alg_async_cb'
      af_alg.c:1059: warning: Function parameter or member 'err' not described in 'af_alg_async_cb'
      af_alg.c:1083: warning: Function parameter or member 'file' not described in 'af_alg_poll'
      af_alg.c:1083: warning: Function parameter or member 'sock' not described in 'af_alg_poll'
      af_alg.c:1083: warning: Function parameter or member 'wait' not described in 'af_alg_poll'
      af_alg.c:1114: warning: Function parameter or member 'sk' not described in 'af_alg_alloc_areq'
      af_alg.c:1114: warning: Function parameter or member 'areqlen' not described in 'af_alg_alloc_areq'
      af_alg.c:1146: warning: Function parameter or member 'sk' not described in 'af_alg_get_rsgl'
      af_alg.c:1146: warning: Function parameter or member 'msg' not described in 'af_alg_get_rsgl'
      af_alg.c:1146: warning: Function parameter or member 'flags' not described in 'af_alg_get_rsgl'
      af_alg.c:1146: warning: Function parameter or member 'areq' not described in 'af_alg_get_rsgl'
      af_alg.c:1146: warning: Function parameter or member 'maxsize' not described in 'af_alg_get_rsgl'
      af_alg.c:1146: warning: Function parameter or member 'outlen' not described in 'af_alg_get_rsgl'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: linux-crypto@vger.kernel.org
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      b2a4411a
  5. 17 4月, 2021 2 次提交
  6. 14 4月, 2021 1 次提交
  7. 11 4月, 2021 2 次提交
  8. 10 4月, 2021 3 次提交
  9. 09 4月, 2021 1 次提交
  10. 08 4月, 2021 1 次提交
    • H
      asm-generic/io.h: Add a non-posted variant of ioremap() · 7c566bb5
      Hector Martin 提交于
      ARM64 currently defaults to posted MMIO (nGnRE), but some devices
      require the use of non-posted MMIO (nGnRnE). Introduce a new ioremap()
      variant to handle this case. ioremap_np() returns NULL on arches that
      do not implement this variant.
      
      sparc64 is the only architecture that needs to be touched directly,
      because it includes neither of the generic io.h or iomap.h headers.
      
      This adds the IORESOURCE_MEM_NONPOSTED flag, which maps to this
      variant and marks a given resource as requiring non-posted mappings.
      This is implemented in the resource system because it is a SoC-level
      requirement, so existing drivers do not need special-case code to pick
      this ioremap variant.
      
      Then this is implemented in devres by introducing devm_ioremap_np(),
      and making devm_ioremap_resource() automatically select this variant
      when the resource has the IORESOURCE_MEM_NONPOSTED flag set.
      Acked-by: NMarc Zyngier <maz@kernel.org>
      Signed-off-by: NHector Martin <marcan@marcan.st>
      7c566bb5
  11. 07 4月, 2021 1 次提交
  12. 05 4月, 2021 1 次提交
  13. 02 4月, 2021 1 次提交
    • A
      crypto: poly1305 - fix poly1305_core_setkey() declaration · 8d195e7a
      Arnd Bergmann 提交于
      gcc-11 points out a mismatch between the declaration and the definition
      of poly1305_core_setkey():
      
      lib/crypto/poly1305-donna32.c:13:67: error: argument 2 of type ‘const u8[16]’ {aka ‘const unsigned char[16]’} with mismatched bound [-Werror=array-parameter=]
         13 | void poly1305_core_setkey(struct poly1305_core_key *key, const u8 raw_key[16])
            |                                                          ~~~~~~~~~^~~~~~~~~~~
      In file included from lib/crypto/poly1305-donna32.c:11:
      include/crypto/internal/poly1305.h:21:68: note: previously declared as ‘const u8 *’ {aka ‘const unsigned char *’}
         21 | void poly1305_core_setkey(struct poly1305_core_key *key, const u8 *raw_key);
      
      This is harmless in principle, as the calling conventions are the same,
      but the more specific prototype allows better type checking in the
      caller.
      
      Change the declaration to match the actual function definition.
      The poly1305_simd_init() is a bit suspicious here, as it previously
      had a 32-byte argument type, but looks like it needs to take the
      16-byte POLY1305_BLOCK_SIZE array instead.
      
      Fixes: 1c08a104 ("crypto: poly1305 - add new 32 and 64-bit generic versions")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NArd Biesheuvel <ardb@kernel.org>
      Reviewed-by: NEric Biggers <ebiggers@google.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      8d195e7a
  14. 31 3月, 2021 2 次提交
  15. 26 3月, 2021 1 次提交
  16. 25 3月, 2021 1 次提交
  17. 19 3月, 2021 2 次提交
  18. 14 3月, 2021 1 次提交
  19. 27 2月, 2021 12 次提交
  20. 25 2月, 2021 3 次提交