Displaying 1 result from an estimated 1 matches for "f865d2a3e184".
2017 Mar 10
0
[PATCH] secboot: fix NULL pointer dereference
...m/nouveau/nvkm/engine/sec2/base.c | 7 +++++++
drm/nouveau/nvkm/falcon/msgqueue.c | 5 ++---
drm/nouveau/nvkm/subdev/pmu/gm20b.c | 6 ++++++
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/drm/nouveau/nvkm/engine/sec2/base.c b/drm/nouveau/nvkm/engine/sec2/base.c
index 814daf35e21f..f865d2a3e184 100644
--- a/drm/nouveau/nvkm/engine/sec2/base.c
+++ b/drm/nouveau/nvkm/engine/sec2/base.c
@@ -59,6 +59,13 @@ static void
nvkm_sec2_recv(struct work_struct *work)
{
struct nvkm_sec2 *sec2 = container_of(work, typeof(*sec2), work);
+
+ if (!sec2->queue) {
+ nvkm_warn(&sec2->engine.sub...