Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4l: xilinx: xcsi2rxss: Fix warnings for NULL_RETURNS
This patch fix the warnings for the NULL_RETURNS type. For __xcsi2rxss_get_pad_format(): Event return_null: Explicitly returning null. For xcsi2rxss_set_format(): Event returned_null: "__xcsi2rxss_get_pad_format" returns "NULL". Event var_assigned: Assigning: "__format" = "NULL" return value from "__xcsi2rxss_get_pad_format". Event dereference: Dereferencing "__format", which is known to be "NULL". For xcsi2rxss_get_format(): Event returned_null: "__xcsi2rxss_get_pad_format" returns "NULL". Event dereference: Dereferencing "__xcsi2rxss_get_pad_format(xcsi2rxss, cfg, fmt->pad, fmt->which)", which is known to be "NULL". Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com> Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
- Loading branch information