-
Frediano Ziglio authored
Pointers to memory allocated in user space are never NULL. The only exception can be if you explicitly map memory at zero. There is however no reasons for such requirement and this practise was also removed from Linux due to security reasons. This API looks copied from a kernel environment where valid virtual addresses can be NULL. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
dde5fd04