[libcamera-devel,v2,0/2] More coverity scan fixes
mbox series

Message ID 20200415054503.13108-1-email@uajain.com
Headers show
Series
  • More coverity scan fixes
Related show

Message

Umang Jain April 15, 2020, 5:45 a.m. UTC
Hi all,

Second interation of the following patches.

Changelog:
* libcamera: camera: Return -EINVAL if any stream is null while configure()
   - Return, instead of excluding a stream in Camera::configure(). Empty
     the activeStreams_ on error path too. I did not find any other
     cleanups needed to be done and the camera state is still unchanged.

* test: v4l2_videodevice: buffer_cache: Fail the test if no hot-buffer is obtained
   - Tweak the commit message.


Umang Jain (2):
  libcamera: camera: Return -EINVAL if any stream is null while
    configure()
  test: v4l2_videodevice: buffer_cache: Fail the test if no hot-buffer
    is obtained

 src/libcamera/camera.cpp               | 5 ++++-
 test/v4l2_videodevice/buffer_cache.cpp | 5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)