summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp1_user.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-07 04:13:38 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-07 12:38:24 -0500
commitdb89a47fb9c71e769b817fa669631b04c2aba440 (patch)
tree91182f129cf9edba20a7ea1a3c6a72f3517814e8 /samples/bpf/xdp1_user.c
parentd75e77ed14f86034ace17e65ab6a6261dd0858c2 (diff)
media: pxa_camera: fix smatch warning
drivers/media/platform/pxa_camera.c:2400 pxa_camera_probe() error: we previously assumed 'pcdev->pdata' could be null (see line 2397) First check if platform data is provided, then check if DT data is provided, and if neither is provided just return with -ENODEV. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'samples/bpf/xdp1_user.c')
0 files changed, 0 insertions, 0 deletions