svn commit: r358591 - in stable: 11/sys/arm/arm 12/sys/arm/arm

Dimitry Andric dim at FreeBSD.org
Tue Mar 3 18:01:04 UTC 2020


Author: dim
Date: Tue Mar  3 18:01:03 2020
New Revision: 358591
URL: https://svnweb.freebsd.org/changeset/base/358591

Log:
  MFC r358407:
  
  Merge r358406 from the clang1000-import branch:
  
  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.

Modified:
  stable/12/sys/arm/arm/identcpu-v6.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/arm/arm/identcpu-v6.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/sys/arm/arm/identcpu-v6.c
==============================================================================
--- stable/12/sys/arm/arm/identcpu-v6.c	Tue Mar  3 17:40:29 2020	(r358590)
+++ stable/12/sys/arm/arm/identcpu-v6.c	Tue Mar  3 18:01:03 2020	(r358591)
@@ -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-all mailing list