Skip to content

Commit c430bf3

Browse files
committed
NetBSD src for "kernel", checkout.sh rev 15c6bb5f1ef9b94c587adc61a5cfabe809412cd8
1 parent dc13aa1 commit c430bf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sys/dev/usb/usbdi.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: usbdi.c,v 1.170 2016/05/06 05:19:32 skrll Exp $ */
1+
/* $NetBSD: usbdi.c,v 1.171 2016/05/17 11:37:50 pooka Exp $ */
22

33
/*
44
* Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
3232
*/
3333

3434
#include <sys/cdefs.h>
35-
__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.170 2016/05/06 05:19:32 skrll Exp $");
35+
__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.171 2016/05/17 11:37:50 pooka Exp $");
3636

3737
#ifdef _KERNEL_OPT
3838
#include "opt_usb.h"
@@ -508,7 +508,7 @@ usbd_create_xfer(struct usbd_pipe *pipe, size_t len, unsigned int flags,
508508
unsigned int nframes, struct usbd_xfer **xp)
509509
{
510510
KASSERT(xp != NULL);
511-
void *buf;
511+
void *buf = NULL;
512512

513513
struct usbd_xfer *xfer = usbd_alloc_xfer(pipe->up_dev, nframes);
514514
if (xfer == NULL)

0 commit comments

Comments
 (0)