diff options
author | Dario Binacchi | 2023-11-02 12:38:22 +0100 |
---|---|---|
committer | Dario Binacchi | 2024-01-15 08:58:24 +0100 |
commit | cbfff3b123a169e249c41b071e4065bce3a2e18a (patch) | |
tree | 9212e2a9f0a9687ed3043ca751062b10bbab8a5a /config.mk | |
parent | 6b3d175928417f55537fe271df983f7ed52915f3 (diff) |
mtd: nand: check nand_mtd_to_devnum() argument
If the "mtd" parameter is NULL, the search will definitely yield a
negative result. In that case, it's better to exit immediately.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20231102113829.58852-1-dario.binacchi@amarulasolutions.com
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions