socsvn commit: r284782 - in soc2013/def/crashdump-head/sys: amd64/amd64 arm/arm ddb i386/i386 mips/mips
def at FreeBSD.org
def at FreeBSD.org
Wed Apr 29 09:50:23 UTC 2015
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
More information about the svn-soc-all
mailing list