Page MenuHomeFreeBSD

D19625.diff
No OneTemporary

D19625.diff

Index: head/sys/dev/smartpqi/smartpqi_mem.c
===================================================================
--- head/sys/dev/smartpqi/smartpqi_mem.c
+++ head/sys/dev/smartpqi/smartpqi_mem.c
@@ -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 @@
/* 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 @@
{
/* DBG_FUNC("IN\n"); */
- free((void*)addr, M_SMARTRAID);
+ free((void*)addr, M_SMARTPQI);
/* DBG_FUNC("OUT\n"); */
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 7:31 PM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14703558
Default Alt Text
D19625.diff (800 B)

Event Timeline