diff options
author | Dan Carpenter <[email protected]> | 2021-11-18 14:13:14 +0300 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2021-11-18 23:55:52 +0100 |
commit | b371fd131fcec59f6165c80778bdc2cd1abd616b (patch) | |
tree | 421e442234798b65de10d1955ccf7651bc24747e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 46741e4f593ff1bd0e4a140ab7e566701946484b (diff) |
drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
The nvkm_acr_lsfw_add() function never returns NULL. It returns error
pointers on error.
Fixes: 22dcda45a3d1 ("drm/nouveau/acr: implement new subdev to replace "secure boot"")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Ben Skeggs <[email protected]>
Signed-off-by: Karol Herbst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20211118111314.GB1147@kili
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions