From: Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [bug report] drm/nouveau/falcon: add msgqueue interface
Date: Tue, 14 Mar 2017 10:56:27 +0300 [thread overview]
Message-ID: <20170314075627.GC6022@mwanda> (raw)
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
reply other threads:[~2017-03-14 7:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170314075627.GC6022@mwanda \
--to=dan.carpenter-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.