Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2015 09:50:20 GMT
From:      def@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r284782 - in soc2013/def/crashdump-head/sys: amd64/amd64 arm/arm ddb i386/i386 mips/mips
Message-ID:  <201504290950.t3T9oKTJ027013@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: def
Date: Wed Apr 29 09:50:20 2015
New Revision: 284782
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=284782

Log:
  Style.

Modified:
  soc2013/def/crashdump-head/sys/amd64/amd64/minidump_machdep.c
  soc2013/def/crashdump-head/sys/arm/arm/minidump_machdep.c
  soc2013/def/crashdump-head/sys/ddb/db_textdump.c
  soc2013/def/crashdump-head/sys/i386/i386/minidump_machdep.c
  soc2013/def/crashdump-head/sys/mips/mips/minidump_machdep.c

Modified: soc2013/def/crashdump-head/sys/amd64/amd64/minidump_machdep.c
==============================================================================
--- soc2013/def/crashdump-head/sys/amd64/amd64/minidump_machdep.c	Wed Apr 29 09:42:33 2015	(r284781)
+++ soc2013/def/crashdump-head/sys/amd64/amd64/minidump_machdep.c	Wed Apr 29 09:50:20 2015	(r284782)
@@ -49,7 +49,7 @@
 #include <machine/vmparam.h>
 #include <machine/minidump.h>
 
-CTASSERT(sizeof(struct kerneldumpheader) % 512 == 0);
+CTASSERT((sizeof(struct kerneldumpheader) % 512) == 0);
 
 /*
  * Don't touch the first SIZEOF_METADATA bytes on the dump device. This

Modified: soc2013/def/crashdump-head/sys/arm/arm/minidump_machdep.c
==============================================================================
--- soc2013/def/crashdump-head/sys/arm/arm/minidump_machdep.c	Wed Apr 29 09:42:33 2015	(r284781)
+++ soc2013/def/crashdump-head/sys/arm/arm/minidump_machdep.c	Wed Apr 29 09:50:20 2015	(r284782)
@@ -50,7 +50,7 @@
 #include <machine/minidump.h>
 #include <machine/cpufunc.h>
 
-CTASSERT(sizeof(struct kerneldumpheader) % 512 == 0);
+CTASSERT((sizeof(struct kerneldumpheader) % 512) == 0);
 
 /*
  * Don't touch the first SIZEOF_METADATA bytes on the dump device. This

Modified: soc2013/def/crashdump-head/sys/ddb/db_textdump.c
==============================================================================
--- soc2013/def/crashdump-head/sys/ddb/db_textdump.c	Wed Apr 29 09:42:33 2015	(r284781)
+++ soc2013/def/crashdump-head/sys/ddb/db_textdump.c	Wed Apr 29 09:50:20 2015	(r284782)
@@ -113,7 +113,7 @@
  * Various size assertions -- pretty much everything must be one block in
  * size.
  */
-CTASSERT(sizeof(struct kerneldumpheader) % TEXTDUMP_BLOCKSIZE == 0);
+CTASSERT((sizeof(struct kerneldumpheader) % TEXTDUMP_BLOCKSIZE) == 0);
 CTASSERT(sizeof(struct ustar_header) == TEXTDUMP_BLOCKSIZE);
 
 /*

Modified: soc2013/def/crashdump-head/sys/i386/i386/minidump_machdep.c
==============================================================================
--- soc2013/def/crashdump-head/sys/i386/i386/minidump_machdep.c	Wed Apr 29 09:42:33 2015	(r284781)
+++ soc2013/def/crashdump-head/sys/i386/i386/minidump_machdep.c	Wed Apr 29 09:50:20 2015	(r284782)
@@ -45,7 +45,7 @@
 #include <machine/vmparam.h>
 #include <machine/minidump.h>
 
-CTASSERT(sizeof(struct kerneldumpheader) % 512 == 0);
+CTASSERT((sizeof(struct kerneldumpheader) % 512) == 0);
 
 /*
  * Don't touch the first SIZEOF_METADATA bytes on the dump device. This

Modified: soc2013/def/crashdump-head/sys/mips/mips/minidump_machdep.c
==============================================================================
--- soc2013/def/crashdump-head/sys/mips/mips/minidump_machdep.c	Wed Apr 29 09:42:33 2015	(r284781)
+++ soc2013/def/crashdump-head/sys/mips/mips/minidump_machdep.c	Wed Apr 29 09:50:20 2015	(r284782)
@@ -47,7 +47,7 @@
 #include <machine/minidump.h>
 #include <machine/cache.h>
 
-CTASSERT(sizeof(struct kerneldumpheader) % 512 == 0);
+CTASSERT((sizeof(struct kerneldumpheader) % 512) == 0);
 
 /*
  * Don't touch the first SIZEOF_METADATA bytes on the dump device. This



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