diff options
| author | Chris Packham <[email protected]> | 2025-12-19 11:59:34 +1300 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2026-06-10 11:23:26 +0200 |
| commit | a9cc75a25eb6b97ae8e22bdb63ef0bd2c6c690c9 (patch) | |
| tree | 913b74daffcbe7b002f3eeb32105aafada8616ab /contrib/apps/httpserver | |
| parent | 50b3c87e0e2b6037dfa4dd9ee1e0ddb42165e835 (diff) | |
mtd: nand: pxa3xx: Pass valid dev to dev_err()
info->controller.active is not initialised so the dev_err() call ends up
dereferencing a null pointer causing a crash instead of outputting the
error. Add a dev member to struct pxa3xx_nand_info and use that instead
of info->controller.active->mtd.dev.
Fixes: 661c98121d49 ("mtd: nand: pxa3xx: Fix not calling dev_xxx with a device")
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions
