1. 18 Sep, 2020 1 commit
  2. 11 Sep, 2020 23 commits
  3. 04 Sep, 2020 14 commits
  4. 28 Aug, 2020 2 commits
    • Herbert Xu's avatar
      crypto: stm32 - Fix sparse warnings · bbb28326
      Herbert Xu authored
      This patch fixes most of the sparse endianness warnings in stm32.
      The patch itself doesn't change anything apart from markings,
      but there is some questionable code in stm32_cryp_check_ctr_counter.
      
      That function operates on the counters as if they're in CPU order,
      however, they're then written out as big-endian.  This looks like
      a genuine bug.  Therefore I've left that warning alone until
      someone can confirm that this really does work as intended on
      little-endian.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      bbb28326
    • dinghao.liu@zju.edu.cn's avatar
      crypto: ccree - fix runtime PM imbalance on error · b7b57a56
      dinghao.liu@zju.edu.cn authored
      pm_runtime_get_sync() increments the runtime PM usage counter
      even when it returns an error code. However, users of cc_pm_get(),
      a direct wrapper of pm_runtime_get_sync(), assume that PM usage
      counter will not change on error. Thus a pairing decrement is needed
      on the error handling path to keep the counter balanced.
      
      Fixes: 8c7849a3 ("crypto: ccree - simplify Runtime PM handling")
      Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      b7b57a56