diff options
| author | Dan Carpenter <[email protected]> | 2023-09-27 15:39:43 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-07 10:55:45 +0200 |
| commit | 5f9fcbf92da901495f2f8b09d2f6df5c2ca83dc5 (patch) | |
| tree | bc4a2293c864b60a0d8582c6ef822da9ac579fcd /tools/perf/scripts | |
| parent | 04d19e65137e3cd4a5004e624c85c762933d115c (diff) | |
media: nuvoton: npcm-video: Fix IS_ERR() vs NULL bug
The of_parse_phandle() function returns NULL on error. It never returns
error pointers. Update the check accordingly.
Fixes: 70721089985c ("media: nuvoton: Add driver for NPCM video capture and encoding engine")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions