drm: use memchr_inv()
Use memchr_inv() to check the specified memory region is filled with zero. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: dri-devel@lists.freedesktop.org Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录