1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

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
This commit is contained in:
Edward Tomasz Napierala 2019-03-21 21:14:25 +00:00
parent a4b59d3db6
commit b39beab1b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345385

View File

@ -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 size)
/* 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"); */
}