[libcamera-devel] [PATCH v2 0/2] More coverity scan fixes

Umang Jain email at uajain.com
Wed Apr 15 07:45:14 CEST 2020


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(-)

-- 
2.26.0



More information about the libcamera-devel mailing list