Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb The scsipi layer still uses malloc(9)
details: https://anonhg.NetBSD.org/src/rev/2adf8773bf94
branches: nick-nhusb
changeset: 334618:2adf8773bf94
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jan 29 10:13:51 2017 +0000
description:
The scsipi layer still uses malloc(9)
diffstat:
sys/dev/usb/umass_scsipi.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b96a8e28c33a -r 2adf8773bf94 sys/dev/usb/umass_scsipi.c
--- a/sys/dev/usb/umass_scsipi.c Sun Jan 29 10:10:30 2017 +0000
+++ b/sys/dev/usb/umass_scsipi.c Sun Jan 29 10:13:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass_scsipi.c,v 1.49.2.7 2017/01/29 10:10:30 skrll Exp $ */
+/* $NetBSD: umass_scsipi.c,v 1.49.2.8 2017/01/29 10:13:51 skrll Exp $ */
/*
* Copyright (c) 2001, 2003, 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.49.2.7 2017/01/29 10:10:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_scsipi.c,v 1.49.2.8 2017/01/29 10:13:51 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -49,6 +49,7 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/lwp.h>
+#include <sys/malloc.h>
/* SCSI & ATAPI */
#include <sys/scsiio.h>
Home |
Main Index |
Thread Index |
Old Index