diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-01-08 08:46:01 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-01-15 10:49:59 +1000 |
commit | 3613a9bea95a1470dd42e4ed1cc7d86ebe0a2dc0 (patch) | |
tree | 6c085044f998de594d65ed7f413ed1d5e06f6b5e /drivers/gpu/drm/nouveau/nvkm/core | |
parent | 176ada03e3c2cc0e0d725ea4626dfebec681578f (diff) | |
download | linux-stable-3613a9bea95a1470dd42e4ed1cc7d86ebe0a2dc0.tar.gz linux-stable-3613a9bea95a1470dd42e4ed1cc7d86ebe0a2dc0.tar.bz2 linux-stable-3613a9bea95a1470dd42e4ed1cc7d86ebe0a2dc0.zip |
drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
We accidentally set "psb" which is a no-op instead of "*psb" so it
generates a static checker warning. We should probably set it before
the first error return so that it's always initialized.
Fixes: 923f1bd27bf1 ("drm/nouveau/secboot/gm20b: add secure boot support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/core')
0 files changed, 0 insertions, 0 deletions