[PATCH] accel/qaic: silence some uninitialized variable warnings

Carl Vanderlip quic_carlv at quicinc.com
Thu May 11 15:34:34 UTC 2023


On 5/3/2023 3:41 AM, Dan Carpenter wrote:
> Smatch complains that these are not initialized if get_cntl_version()
> fails but we still print them in the debug message.  Not the end of
> the world, but true enough.  Let's just initialize them to a dummy value
> to make the checker happy.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

LGTM

Reviewed-by: Carl Vanderlip <quic_carlv at quicinc.com>


More information about the dri-devel mailing list