diff options
author | Dan Carpenter <[email protected]> | 2023-05-03 13:41:27 +0300 |
---|---|---|
committer | Jeffrey Hugo <[email protected]> | 2023-05-16 11:04:08 -0600 |
commit | 2d2f5f1e8fd91fe848aacde28f738fb8e8d95a27 (patch) | |
tree | f6bc0faba7f9885b49f910a0d1fd5bcc0751a219 /drivers/gpu/drm/scheduler/sched_main.c | |
parent | 140809738d969376f26f13264b16669703956f6c (diff) |
accel/qaic: silence some uninitialized variable warnings
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.
Fixes: c501ca23a6a3 ("accel/qaic: Add uapi and core driver file")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Reviewed-by: Carl Vanderlip <[email protected]>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <[email protected]>
[jhugo: Add fixes and reorder varable declarations for style]
Signed-off-by: Jeffrey Hugo <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_main.c')
0 files changed, 0 insertions, 0 deletions