]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: brcmnand: Fix sparse warnings in bcma_nand
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 25 Jan 2022 22:52:43 +0000 (14:52 -0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 Jan 2022 09:03:00 +0000 (10:03 +0100)
commitf8a2e3939a72141e52ba8e61c103554b2a08fa45
treeef7322dff5328bec62908696200a4835f504d2fc
parent97b17a8e3005e06b12e45bc8c0d5c4bc7134909f
mtd: rawnand: brcmnand: Fix sparse warnings in bcma_nand

sparse was unhappy about the way we woulc call cpu_to_be32/be32_to_cpu,
apply the appropriate casting to silence the warnings.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/ZNHPJFYLO64EGI5QUT7HZ63J7O5J2G7N/
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220125225243.15201-1-f.fainelli@gmail.com
drivers/mtd/nand/raw/brcmnand/bcma_nand.c