From 3673d032850c3b54b8b2cc74cf1782a75cc9b2a9 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sat, 24 Feb 2018 10:05:37 -0800 Subject: Fix more cstyle warnings This patch contains no functional changes. It is solely intended to resolve cstyle warnings in order to facilitate moving the spl source code in to the zfs repository. Reviewed-by: Giuseppe Di Natale Reviewed by: George Melikov Signed-off-by: Brian Behlendorf Closes #687 --- module/spl/spl-err.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/spl/spl-err.c') diff --git a/module/spl/spl-err.c b/module/spl/spl-err.c index 33a8df898..6b71296e8 100644 --- a/module/spl/spl-err.c +++ b/module/spl/spl-err.c @@ -34,9 +34,11 @@ * analysis and other such goodies. * But we would still default to the current default of not to do that. */ +/* BEGIN CSTYLED */ unsigned int spl_panic_halt; module_param(spl_panic_halt, uint, 0644); MODULE_PARM_DESC(spl_panic_halt, "Cause kernel panic on assertion failures"); +/* END CSTYLED */ /* * Limit the number of stack traces dumped to not more than 5 every @@ -55,7 +57,8 @@ spl_dumpstack(void) EXPORT_SYMBOL(spl_dumpstack); int -spl_panic(const char *file, const char *func, int line, const char *fmt, ...) { +spl_panic(const char *file, const char *func, int line, const char *fmt, ...) +{ const char *newfile; char msg[MAXMSGLEN]; va_list ap; -- cgit v1.2.3