diff options
| author | Dan Carpenter <[email protected]> | 2024-02-20 09:02:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 21:48:38 +0000 |
| commit | 316459ba4051fd91237171fdca88920128a646f1 (patch) | |
| tree | 350de588fd955c63b42305b8f004abcb230a51cf /drivers/cdx/controller/mcdi_functions.c | |
| parent | hpet: remove hpets::hp_clocksource (diff) | |
| download | kernel-316459ba4051fd91237171fdca88920128a646f1.tar.gz kernel-316459ba4051fd91237171fdca88920128a646f1.zip | |
char: xilinx_hwicap: Fix NULL vs IS_ERR() bug
The devm_platform_ioremap_resource() function returns error pointers.
It never returns NULL. Update the check accordingly.
Fixes: 672371832193 ("char: xilinx_hwicap: Modernize driver probe")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions
