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)
commitd430e4acd99f3f2cd5fa30fa6e27dd39261cc967
treeef7322dff5328bec62908696200a4835f504d2fc
parent2212c19e51969213924ab538396b6c1e072c41f1
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