svn commit: r358406 - projects/clang1000-import/sys/arm/arm

Dimitry Andric dim at FreeBSD.org
Thu Feb 27 19:58:21 UTC 2020


Author: dim
Date: Thu Feb 27 19:58:20 2020
New Revision: 358406
URL: https://svnweb.freebsd.org/changeset/base/358406

Log:
  Fix the following -Werror warning from clang 10.0.0:
  
  sys/arm/arm/identcpu-v6.c:227:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                                  if (val & CPUV7_CT_CTYPE_RA)
                                  ^
  sys/arm/arm/identcpu-v6.c:225:4: note: previous statement is here
                          if (val & CPUV7_CT_CTYPE_WB)
                          ^
  
  This was due to an accidentally inserted tab before the if statement.
  
  MFC after:	3 days

Modified:
  projects/clang1000-import/sys/arm/arm/identcpu-v6.c

Modified: projects/clang1000-import/sys/arm/arm/identcpu-v6.c
==============================================================================
--- projects/clang1000-import/sys/arm/arm/identcpu-v6.c	Thu Feb 27 19:49:59 2020	(r358405)
+++ projects/clang1000-import/sys/arm/arm/identcpu-v6.c	Thu Feb 27 19:58:20 2020	(r358406)
@@ -224,7 +224,7 @@ print_v7_cache(void )
 				printf(" WT");
 			if (val & CPUV7_CT_CTYPE_WB)
 				printf(" WB");
-				if (val & CPUV7_CT_CTYPE_RA)
+			if (val & CPUV7_CT_CTYPE_RA)
 				printf(" Read-Alloc");
 			if (val & CPUV7_CT_CTYPE_WA)
 				printf(" Write-Alloc");


More information about the svn-src-projects mailing list