1. 09 Jul, 2020 3 commits
    • Herbert Xu's avatar
      hwrng: npcm - Fix W=1 unused variable warning · 9a150af0
      Herbert Xu authored
      This patch fixes an unused variable warning when this driver is
      built-in with CONFIG_OF=n.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      9a150af0
    • Herbert Xu's avatar
      Merge branch 'ux500' · 95a62311
      Herbert Xu authored
      The change on the ux500 branch is needed by the regulator API.
      95a62311
    • Lee Jones's avatar
      crypto: ux500/hash - Add namespacing to hash_init() · 3cfa435c
      Lee Jones authored
      A recent change to the Regulator consumer API (which this driver
      utilises) add prototypes for the some suspend functions.  These
      functions require including header file include/linux/suspend.h.
      
      The following tree of includes affecting this driver will be
      present:
      
         In file included from include/linux/elevator.h:6,
                          from include/linux/blkdev.h:288,
                          from include/linux/blk-cgroup.h:23,
                          from include/linux/writeback.h:14,
                          from include/linux/memcontrol.h:22,
                          from include/linux/swap.h:9,
                          from include/linux/suspend.h:5,
                          from include/linux/regulator/consumer.h:35,
                          from drivers/crypto/ux500/hash/hash_core.c:28:
      
      include/linux/elevator.h pulls in include/linux/hashtable.h which
      contains its own version of hash_init().  This confuses the build
      system and results in the following error (amongst others):
      
       drivers/crypto/ux500/hash/hash_core.c:1362:19: error: passing argument 1 of '__hash_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
       1362 |  return hash_init(req);
      
      Fix this by namespacing the local hash_init() such that the
      source of confusion is removed.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: linux-crypto@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      3cfa435c
  2. 03 Jul, 2020 9 commits
  3. 26 Jun, 2020 12 commits
  4. 18 Jun, 2020 16 commits