]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/sti: Adjust two checks for null pointers in sti_hqvdp_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 5 May 2017 13:33:19 +0000 (15:33 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 9 May 2017 12:46:19 +0000 (14:46 +0200)
commitda98d2e13b9566ddc1e84e418ab6a86155138d9b
tree47bb90701038d79354e29b29076d861039f15c9c
parentbc435de5eb41466b3452d43254236c8270ab8ca0
drm/sti: Adjust two checks for null pointers in sti_hqvdp_probe()

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written !…

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/918229e6-80fe-629f-8fec-bf60ac15275f@users.sourceforge.net
drivers/gpu/drm/sti/sti_hqvdp.c