Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1549233
| From | Hans Verkuil <hverkuil@xs4all.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/8] [media] v4l2-core: Fine-tuning for some function implementations |
| Date | 2017-01-02 16:00 +0100 |
| Message-ID | <sVcfD-8dX-11@gated-at.bofh.it> (permalink) |
| References | <sSKnv-19u-3@gated-at.bofh.it> <sSYA9-1xE-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12/27/16 12:51, Sakari Ailus wrote: > Hi Markus, > > On Mon, Dec 26, 2016 at 09:41:19PM +0100, SF Markus Elfring wrote: >> From: Markus Elfring <elfring@users.sourceforge.net> >> 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() > > I don't really disagree with the videobuf changes as such --- the original > code sure seems quite odd, but I wonder whether we want to do this kind of > cleanups in videobuf. Videobuf will be removed likely in not too distant > future; when exactly, Hans can guesstimate better than me. Cc him. > The videobuf code is frozen as far as I am concerned, and I won't pick up these cleanup patches. While they look perfectly reasonable, I don't want to risk any breakage there. The last thing I want to do is to have to debug in the videobuf code. Sorry Markus, just stay away from the videobuf-* sources. Regards, Hans
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/8] [media] v4l2-core: Fine-tuning for some function implementations SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 21:50 +0100
[PATCH 6/8] [media] videobuf-dma-sg: Improve a size determination in __videobuf_mmap_mapper() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 22:00 +0100
[PATCH 8/8] [media] videobuf-dma-sg: Add some spaces for better code readability in videobuf_dma_init_user_locked() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 22:00 +0100
[PATCH 3/8] [media] videobuf-dma-sg: Use kmalloc_array() in videobuf_dma_init_user_locked() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 22:00 +0100
[PATCH 7/8] [media] videobuf-dma-sg: Delete an unnecessary return statement in videobuf_vm_close() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 22:00 +0100
[PATCH 5/8] [media] videobuf-dma-sg: Move two assignments for error codes in __videobuf_mmap_mapper() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-12-26 22:00 +0100
Re: [PATCH 0/8] [media] v4l2-core: Fine-tuning for some function implementations Sakari Ailus <sakari.ailus@iki.fi> - 2016-12-27 13:00 +0100
Re: [PATCH 0/8] [media] v4l2-core: Fine-tuning for some function implementations Hans Verkuil <hverkuil@xs4all.nl> - 2017-01-02 16:00 +0100
csiph-web