]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: arasan: stop using 0 as NULL pointer
authorGONG, Ruiqi <gongruiqi1@huawei.com>
Mon, 25 Jul 2022 11:21:07 +0000 (19:21 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 21 Sep 2022 08:38:46 +0000 (10:38 +0200)
commitcc8b1a0f7e7135cf4891474db1c635f52ab71c93
treedbb8f994109745f806ebadaeed421603a201055f
parent8a03b19354cb09a7c8fd01f424e7cd9db7277926
mtd: rawnand: arasan: stop using 0 as NULL pointer

Fix the following sparse warnings:

drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer

Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220725112108.686347-1-gongruiqi1@huawei.com
drivers/mtd/nand/raw/arasan-nand-controller.c