aboutsummaryrefslogtreecommitdiffstats
path: root/module/spl/spl-err.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-02-24 10:05:37 -0800
committerGitHub <[email protected]>2018-02-24 10:05:37 -0800
commit3673d032850c3b54b8b2cc74cf1782a75cc9b2a9 (patch)
tree90735245d45c309720e6e038caa6889689680513 /module/spl/spl-err.c
parent378c6ed549e7d68eebb4b0bd37a09e66f70c647b (diff)
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 <[email protected]> Reviewed by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #687
Diffstat (limited to 'module/spl/spl-err.c')
-rw-r--r--module/spl/spl-err.c5
1 files changed, 4 insertions, 1 deletions
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;