gbm: replace NULL sentinel with explicit ARRAY_SIZE()
authorEric Engestrom <eric@engestrom.ch>
Sun, 1 Sep 2019 16:41:19 +0000 (17:41 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Sun, 13 Oct 2019 17:10:47 +0000 (18:10 +0100)
commitad7e4108936df34d564176b481e7d805af9da921
treee1b6ba601af1af9efe3a4ef8da398325067555ba
parent0d74f4bb169ab7b81993d41861f9a2e7c1f4e01f
gbm: replace NULL sentinel with explicit ARRAY_SIZE()

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gbm/backends/dri/gbm_dri.c