From: Dan Carpenter <dan.carpenter@oracle.com>
To: treding@nvidia.com
Cc: dri-devel@lists.freedesktop.org
Subject: re: drm/dsi: Add message to packet translator
Date: Wed, 17 Dec 2014 02:53:05 +0300 [thread overview]
Message-ID: <20141216235305.GC31467@mwanda> (raw)
Hello Thierry Reding,
This is a semi-automatic email about new static checker warnings.
The patch a52879e8d7cb: "drm/dsi: Add message to packet translator"
from Oct 16, 2014, leads to the following Smatch complaint:
drivers/gpu/drm/drm_mipi_dsi.c:328 mipi_dsi_create_packet()
warn: variable dereferenced before check 'msg' (see line 326)
drivers/gpu/drm/drm_mipi_dsi.c
325 {
326 const u8 *tx = msg->tx_buf;
^^^^^^^^^^^
Dereference.
327
328 if (!packet || !msg)
^^^^
Check.
329 return -EINVAL;
330
regards,
dan carpenter
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2014-12-16 23:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 23:53 Dan Carpenter [this message]
2014-12-17 10:58 ` drm/dsi: Add message to packet translator Thierry Reding
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=20141216235305.GC31467@mwanda \
--to=dan.carpenter@oracle.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=treding@nvidia.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox