diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-10-17 12:12:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-26 10:01:05 +0100 |
commit | bdfb7621c4c79ec0bd86494823ae36a651a9d693 (patch) | |
tree | 8a6c25ce9491af52a34f7dd301351ef3d3535317 /drivers/power | |
parent | b6cb98e60d0649e0d7c59da550c9860e03483656 (diff) |
drm/amdgpu/vi: silence an uninitialized variable warning
[ Upstream commit 4ff17a1df7d550257972a838220a8af4611c8f2c ]
Smatch complains that we need to initialized "*cap" otherwise it can
lead to an uninitialized variable bug in the caller. This seems like a
reasonable warning and it doesn't hurt to silence it at least.
drivers/gpu/drm/amd/amdgpu/vi.c:767 vi_asic_reset_method() error: uninitialized symbol 'baco_reset'.
Fixes: 425db2553e43 ("drm/amdgpu: expose BACO interfaces to upper level from PP")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions