diff options
author | Umang Jain <email@uajain.com> | 2020-06-08 15:22:10 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-06-08 16:56:07 +0100 |
commit | 313d65ca2545534bba369331068bb57e65ac9318 (patch) | |
tree | d46a1a3d6dc070f888e1d46adba328d8901b7218 /include/linux/bcm2835-isp.h | |
parent | 071e3698f56522726f2ba1aeeade44d6c6c4f7f8 (diff) |
test: v4l2_subdevice: list_formats: Port to use utils::hex() output helper
The hex stream output helper was introduced in f391048a7b98 ("libcamera: utils:
Add hex stream output helper"). It simplifies writing hexadecimal values to an
ostream which can be used in this test too. As the helper doesn't modify the
stream configuration (refer to utils::hex() documentation), this eliminates the
need of restoring the stream's format state as pointed out by the coverity scan.
Reported-by: Coverity CID=279058
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/bcm2835-isp.h')
0 files changed, 0 insertions, 0 deletions