Commit cfe0c5e3 authored by Hans Verkuil's avatar Hans Verkuil
Browse files

media: atomisp: don't use sizeof(NULL)



Check the size of another pointer instead of NULL. This fixes this
smatch warning:

drivers/staging/media/atomisp/pci/sh_css.c:3609 ia_css_pipe_enqueue_buffer() warn: sizeof(NUMBER)?

Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 9590d1a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment