]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: complete nand_register() arguments check
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Thu, 2 Nov 2023 11:27:33 +0000 (12:27 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 15 Jan 2024 07:58:24 +0000 (08:58 +0100)
commit6b3d175928417f55537fe271df983f7ed52915f3
treebb7cb176452bdf965d9bfa27e059328f4cb2b5bb
parent6b37320c7625a7742a6aeac4f9835356b782633c
mtd: nand: complete nand_register() arguments check

The patch checks that the "mtd" parameter is accessible before
proceeding.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20231102112743.57420-1-dario.binacchi@amarulasolutions.com
drivers/mtd/nand/raw/nand.c