Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4l: xilinx: multi-scaler: Fix warnings for unchecked return value
This patch fixes the coverity warnings about return value not being checked and improper use of negative value. The actual warnings are: For xm2msc_parse_of(): Event check_return: Calling of_property_count_strings without checking return value Event unchecked_value: Using value hw_vid_fmt_cnt as a function argument without checking appropriately Event negative_return_fn: Function of_property_count_strings (node, "xlnx,vid-formats") returns a negative number Event negative_returns: hw_vid_fmt_cnt is passed to a parameter that cannot be negative Signed-off-by: Akhil Raghu Menon <akhil.raghu.menon@xilinx.com> Reviewed-by: Vishal Sagar <vishal.sagar@amd.com>
- Loading branch information