Skip to content

v4l2-core: Fine-tuning for some function implementations

SF Markus Elfring kernel-janitors linux-media lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8v4l2-async: Use kmalloc_array() in v4l2_async_notifier_unregister()drivers/media/v4l2-core/v4l2-async.c+1 -11 reply
2/8v4l2-async: Delete an error message for a failed memory allocation in v4l2_async_notifier_unregister()drivers/media/v4l2-core/v4l2-async.c+0 -52 replies
3/8videobuf-dma-sg: Use kmalloc_array() in videobuf_dma_init_user_locked()drivers/media/v4l2-core/videobuf-dma-sg.c+3 -10 replies
4/8videobuf-dma-sg: Adjust 24 checks for null valuesdrivers/media/v4l2-core/videobuf-dma-sg.c+24 -241 reply
5/8videobuf-dma-sg: Move two assignments for error codes in __videobuf_mmap_mapper()drivers/media/v4l2-core/videobuf-dma-sg.c+4 -40 replies
6/8videobuf-dma-sg: Improve a size determination in __videobuf_mmap_mapper()drivers/media/v4l2-core/videobuf-dma-sg.c+1 -10 replies
7/8videobuf-dma-sg: Delete an unnecessary return statement in videobuf_vm_close()drivers/media/v4l2-core/videobuf-dma-sg.c+0 -10 replies
8/8videobuf-dma-sg: Add some spaces for better code readability in videobuf_dma_init_user_locked()drivers/media/v4l2-core/videobuf-dma-sg.c+2 -20 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchSakari Ailus
1/8A-b
2/8A-b
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] [media] v4l2-core: Fine-tuning for some function implementations

From: Markus Elfring <[email protected]>
Date: Mon, 26 Dec 2016 21:30:12 +0100

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (8):
v4l2-async: Use kmalloc_array() in v4l2_async_notifier_unregister()
v4l2-async: Delete an error message for a failed memory allocation in v4l2_async_notifier_unregister()
videobuf-dma-sg: Use kmalloc_array() in videobuf_dma_init_user_locked()
videobuf-dma-sg: Adjust 24 checks for null values
videobuf-dma-sg: Move two assignments for error codes in __videobuf_mmap_mapper()
videobuf-dma-sg: Improve a size determination in __videobuf_mmap_mapper()
videobuf-dma-sg: Delete an unnecessary return statement in videobuf_vm_close()
videobuf-dma-sg: Add some spaces for better code readability in videobuf_dma_init_user_locked()

 drivers/media/v4l2-core/v4l2-async.c      |  7 +---
 drivers/media/v4l2-core/videobuf-dma-sg.c | 65 ++++++++++++++++---------------
 2 files changed, 34 insertions(+), 38 deletions(-)
Signature · 1 line
2.11.0