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)
commit2fa8e90433cdc2d9f09883f45fd2942dc042d6a6
treef8502a47d171398a6b9fcd8c846a9b7cec6979d6
parente2ab3218f46bce3380189ba4ac2a8cbdb2ae6272
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