Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 19:59:18 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358407 - head/sys/arm/arm
Message-ID:  <202002271959.01RJxIpP048258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu Feb 27 19:59:17 2020
New Revision: 358407
URL: https://svnweb.freebsd.org/changeset/base/358407

Log:
  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.
  
  MFC after:	3 days

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

Modified: head/sys/arm/arm/identcpu-v6.c
==============================================================================
--- head/sys/arm/arm/identcpu-v6.c	Thu Feb 27 19:58:20 2020	(r358406)
+++ head/sys/arm/arm/identcpu-v6.c	Thu Feb 27 19:59:17 2020	(r358407)
@@ -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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002271959.01RJxIpP048258>