ecore_drm: pass NULL to mmap() instead 0 for address
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 10 Nov 2015 15:31:36 +0000 (16:31 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Tue, 10 Nov 2015 15:34:13 +0000 (16:34 +0100)
commit8d19716865625be6f9bc16465c56c0a8458a651d
tree2f8b542233b6d1b7ba89059086d54e9d6dadefeb
parent7cb444b6013ee2f1d067307c5f1976e817244eb0
ecore_drm: pass NULL to mmap() instead 0 for address

The second find of these. The other one was in evas generic loaders.
mmap() expects a void * as address here. If we want to let the kernel
choose the address we should really pass in NULL instead of the
integer 0.

Thanks goes to the sparse semantic parser for pointing this out.
src/lib/ecore_drm/ecore_drm_fb.c