Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix pasto for nbo_bus_space_write_4() - value ne...
details: https://anonhg.NetBSD.org/src/rev/0dfcdbbcd0f1
branches: trunk
changeset: 352338:0dfcdbbcd0f1
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Mar 26 16:53:36 2017 +0000
description:
fix pasto for nbo_bus_space_write_4() - value needs to be uint32_t
diffstat:
sys/dev/pci/virtio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6fef9067aa22 -r 0dfcdbbcd0f1 sys/dev/pci/virtio.c
--- a/sys/dev/pci/virtio.c Sun Mar 26 13:57:53 2017 +0000
+++ b/sys/dev/pci/virtio.c Sun Mar 26 16:53:36 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio.c,v 1.25 2017/03/26 13:51:45 martin Exp $ */
+/* $NetBSD: virtio.c,v 1.26 2017/03/26 16:53:36 jdolecek Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.25 2017/03/26 13:51:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.26 2017/03/26 16:53:36 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -95,7 +95,7 @@
static void
nbo_bus_space_write_4(bus_space_tag_t space, bus_space_handle_t handle,
- bus_size_t offset, uint16_t value)
+ bus_size_t offset, uint32_t value)
{
bus_space_write_4(space, handle, offset, htole32(value));
}
Home |
Main Index |
Thread Index |
Old Index