aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-04-25 13:10:17 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-04-25 13:10:17 +0000
commit1add3aeb4fb6e1689312668b4ca62037db753ee7 (patch)
tree4b3014113c21b86b0032da039d3ed43066b14d61
parent33d365389d71ddf14d052ce67e90b003611cd8cd (diff)
downloadsrc-1add3aeb4fb6e1689312668b4ca62037db753ee7.tar.gz
src-1add3aeb4fb6e1689312668b4ca62037db753ee7.zip
Fix misleading indentation in sys/dev/drm2/radeon/evergreen.c
This fixes the following warning from recent versions of clang and gcc: sys/dev/drm2/radeon/evergreen.c:554:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] Direct commit to stable/{10,11,12}, since this driver has been removed from FreeBSD 13.
Notes
Notes: svn path=/stable/10/; revision=360303
-rw-r--r--sys/dev/drm2/radeon/evergreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/radeon/evergreen.c b/sys/dev/drm2/radeon/evergreen.c
index 4643d62f916c..934df8bfcb34 100644
--- a/sys/dev/drm2/radeon/evergreen.c
+++ b/sys/dev/drm2/radeon/evergreen.c
@@ -551,7 +551,7 @@ bool evergreen_hpd_sense(struct radeon_device *rdev, enum radeon_hpd_id hpd)
case RADEON_HPD_6:
if (RREG32(DC_HPD6_INT_STATUS) & DC_HPDx_SENSE)
connected = true;
- break;
+ break;
default:
break;
}