]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: fix itnull.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Fri, 23 Oct 2015 05:38:00 +0000 (07:38 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 17 Nov 2015 20:26:45 +0000 (12:26 -0800)
commit84192842dd72ceb33f1492db549769414fe8d07e
treef8502a47d171398a6b9fcd8c846a9b7cec6979d6
parentd5df88bf6efdd142498126c8609fe0d085ffb7e9
drm/vc4: fix itnull.cocci warnings

Connector cannot be null because it is a list entry, ie accessed at an
offset from the positions of the list structure pointers themselves.

Generated by: scripts/coccinelle/iterators/itnull.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_crtc.c