aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
diff options
context:
space:
mode:
authorTales Aparecida <[email protected]>2022-08-11 20:43:27 +0000
committerAlex Deucher <[email protected]>2022-08-16 22:17:31 +0000
commit30f2d2e49e826c2dda35153d2e108d06f6d7d9dc (patch)
tree1b2a29457fa722176e0c8041d71531a0c0531c39 /drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
parentdrm/amd/display: fix overflow on MIN_I64 definition (diff)
downloadkernel-30f2d2e49e826c2dda35153d2e108d06f6d7d9dc.tar.gz
kernel-30f2d2e49e826c2dda35153d2e108d06f6d7d9dc.zip
drm/amd/display: fix minor codestyle problems
Fixes five checkpatch warnings: CHECK: Please don't use multiple blank lines + + ERROR: Macros with complex values should be enclosed in parentheses +#define MAX_I64 \ + (int64_t)((1ULL << 63) - 1) WARNING: Missing a blank line after declarations + struct bw_fixed res; + ASSERT(value < BW_FIXED_MAX_I32 && value > BW_FIXED_MIN_I32); ERROR: that open brace { should be on the previous line + do + { ERROR: that open brace { should be on the previous line + if (remainder >= arg2_value) + { Signed-off-by: Tales Aparecida <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h')
0 files changed, 0 insertions, 0 deletions