re: drm/dsi: Add message to packet translator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux