commit | c15c8d70207d467bb4312d6ac5536c101246fdc6 | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Wed Jan 06 16:48:38 2016 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jan 08 15:39:23 2016 -0500 |
tree | 140ef07a32acc7e2590ad28b7e716ead3b1b595e | |
parent | 75ac63dbc3b0f4d3af67a5857790749e954e2ba6 [diff] |
drm/amd/powerplay: fix Smatch static checker warnings 1. return -1 instead of -ENOMEM 2. The struct type mismatch warnings. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>