diff options
author | Darik Horn <[email protected]> | 2011-04-21 10:11:45 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-21 09:41:13 -0700 |
commit | 5b8f76ea16f5634c6a28490f149e699afce09cdf (patch) | |
tree | 8e4624d840ecef26a8d8dee5644fed3e5297c5dd /module | |
parent | ad35b6a6e99a0e0962d6a33e181784cada44c3c0 (diff) |
Make the SPL kernel messages consistent with ZFS.
Change the SPL kernel messages for module loading and module
unloading so that they are similar to the ZFS kernel messages.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module')
-rw-r--r-- | module/spl/spl-generic.c | 6 | ||||
-rw-r--r-- | module/splat/splat-ctl.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index 654654148..17626b782 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -498,8 +498,8 @@ __init spl_init(void) if ((rc = spl_kmem_init_kallsyms_lookup())) SGOTO(out10, rc); - printk(KERN_NOTICE "SPL: Loaded Solaris Porting Layer v%s%s\n", - SPL_META_VERSION, SPL_DEBUG_STR); + printk(KERN_NOTICE "SPL: Loaded module v%s%s, using hostid 0x%08x\n", + SPL_META_VERSION, SPL_DEBUG_STR, (unsigned int) spl_hostid); SRETURN(rc); out10: zlib_fini(); @@ -532,7 +532,7 @@ spl_fini(void) { SENTRY; - printk(KERN_NOTICE "SPL: Unloaded Solaris Porting Layer v%s%s\n", + printk(KERN_NOTICE "SPL: Unloaded module v%s%s\n", SPL_META_VERSION, SPL_DEBUG_STR); zlib_fini(); tsd_fini(); diff --git a/module/splat/splat-ctl.c b/module/splat/splat-ctl.c index 65ad8c113..58e23051d 100644 --- a/module/splat/splat-ctl.c +++ b/module/splat/splat-ctl.c @@ -663,8 +663,8 @@ splat_init(void) MKDEV(SPLAT_MAJOR, 0), NULL, SPLAT_NAME); - printk(KERN_INFO "SPLAT: Loaded Solaris Porting LAyer " - "Tests v%s\n", SPL_META_VERSION); + printk(KERN_INFO "SPLAT: Loaded module v%s%s\n", + SPL_META_VERSION, SPL_DEBUG_STR); return 0; error: printk(KERN_ERR "SPLAT: Error registering splat device, %d\n", rc); @@ -698,8 +698,8 @@ splat_fini(void) SPLAT_SUBSYSTEM_FINI(kmem); ASSERT(list_empty(&splat_module_list)); - printk(KERN_INFO "SPLAT: Unloaded Solaris Porting LAyer " - "Tests v%s\n", SPL_META_VERSION); + printk(KERN_INFO "SPLAT: Unloaded module v%s%s\n", + SPL_META_VERSION, SPL_DEBUG_STR); return 0; } |