* [bug report] drm/nouveau/falcon: add msgqueue interface
@ 2017-03-14 7:56 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2017-03-14 7:56 UTC (permalink / raw)
To: acourbot-DDmLM1+adcrQT0dZR+AlfA; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hello Alexandre Courbot,
This is a semi-automatic email about new static checker warnings.
The patch 9b536e9d5251: "drm/nouveau/falcon: add msgqueue interface"
from Jan 19, 2017, leads to the following Smatch complaint:
drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c:514 nvkm_msgqueue_recv()
error: we previously assumed 'queue' could be null (see line 513)
drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c
512 {
513 if (!queue || !queue->func || !queue->func->recv) {
^^^^^^
Check.
514 const struct nvkm_subdev *subdev = queue->falcon->owner;
^^^^^^^^^^^^^
Dereference.
515
516 nvkm_warn(subdev,
regards,
dan carpenter
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-14 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 7:56 [bug report] drm/nouveau/falcon: add msgqueue interface Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.