aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2023-10-12 15:45:19 +0800
committerHans Verkuil <[email protected]>2023-10-13 11:33:22 +0200
commit554df753a684ffef5be83aa8cbb35adaf6240bf3 (patch)
tree34df0e6da8f4b706411140bee6a57a39b82f3c79 /drivers/fpga/altera-fpga2sdram.c
parent2a76e7679b594ea3e1b3b7fb6c3d67158114020d (diff)
media: videobuf2: Fix IS_ERR checking in vb2_dc_put_userptr()
In order to avoid error pointers from frame_vector_pages(), we could use IS_ERR() to check the return value to fix this. This checking operation could make sure that vector contains pages. Signed-off-by: Ma Ke <[email protected]> Acked-by: Tomasz Figa <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions