]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/amd/powerplay: fix static checker warning for return meaningless value.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 11 Jan 2016 03:25:18 +0000 (11:25 +0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:25:39 +0000 (10:25 +0100)
commit52088c304c980e983f74a8bfcfce13bae7e8711b
tree196c9b9f99cbe59d2552469dbc2c0c0f58fe115f
parent619ae0a96a6367b933f4754239a8a54c0e44a856
drm/amd/powerplay: fix static checker warning for return meaningless value.

BugLink: http://bugs.launchpad.net/bugs/1546572
The return value should be either negative or zero, no positive.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f3b5cb3e68952d4a721cc733e03eeb5151dcaa1e)
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c