Author: trasz
Date: Thu Mar 21 21:14:25 2019
New Revision: 345385
URL: https://svnweb.freebsd.org/changeset/base/345385

Log:
  Fix smartpqi(4) malloc tag and description to match the driver name.
  No functional changes.
  
  Reviewed by:  sbruno
  MFC after:    2 weeks
  Sponsored by: Klara Inc.
  Differential Revision:        https://reviews.freebsd.org/D19625

Modified:
  head/sys/dev/smartpqi/smartpqi_mem.c

Modified: head/sys/dev/smartpqi/smartpqi_mem.c
==============================================================================
--- head/sys/dev/smartpqi/smartpqi_mem.c        Thu Mar 21 20:07:50 2019        
(r345384)
+++ head/sys/dev/smartpqi/smartpqi_mem.c        Thu Mar 21 21:14:25 2019        
(r345385)
@@ -28,7 +28,7 @@
 
 #include "smartpqi_includes.h"
 
-MALLOC_DEFINE(M_SMARTRAID, "smartraidbuf", "Buffers for the smartraid driver");
+MALLOC_DEFINE(M_SMARTPQI, "smartpqi", "Buffers for the smartpqi(4) driver");
 
 /*
  * DMA map load callback function
@@ -133,7 +133,7 @@ void  *os_mem_alloc(pqisrc_softstate_t *softs, size_t 
 
        /* DBG_FUNC("IN\n");  */
 
-       addr = malloc((unsigned long)size, M_SMARTRAID,
+       addr = malloc((unsigned long)size, M_SMARTPQI,
                        M_NOWAIT | M_ZERO);
 
 /*     DBG_FUNC("OUT\n"); */
@@ -149,7 +149,7 @@ void os_mem_free(pqisrc_softstate_t *softs,
 {
        /* DBG_FUNC("IN\n"); */
 
-       free((void*)addr, M_SMARTRAID);
+       free((void*)addr, M_SMARTPQI);
 
        /* DBG_FUNC("OUT\n"); */
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to