linux-uconsole/drivers/gpu
Gustavo A. R. Silva 564447706c UPSTREAM: drm/rockchip: fix NULL check on devm_kzalloc() return value
The right variable to check here is port, not dp.

This issue was detected using Coccinelle and the following semantic patch:

@@
expression x;
identifier fld;
@@

* x = devm_kzalloc(...);
  ... when != x == NULL
  x->fld

Change-Id: Iba535170f6ba6e8b6e3f53e898a79957e753229c
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170706215833.GA25411@embeddedgus
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 6f6e0b217a)
2018-08-15 11:57:56 +08:00
..
arm Mali: midgard: set "FMODE_UNSIGNED_OFFSET" bit in file flags of mali device file 2018-08-07 09:50:37 +08:00
drm UPSTREAM: drm/rockchip: fix NULL check on devm_kzalloc() return value 2018-08-15 11:57:56 +08:00
host1x
ipu-v3
rogue rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
rogue_m rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
vga
Makefile