Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/linux Update change to Linux struct re...
details: https://anonhg.NetBSD.org/src/rev/2b40a8040aa5
branches: trunk
changeset: 1028069:2b40a8040aa5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:46:52 2021 +0000
description:
Update change to Linux struct resource members: end, not size.
diffstat:
sys/external/bsd/drm2/linux/linux_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e028dc056b0 -r 2b40a8040aa5 sys/external/bsd/drm2/linux/linux_pci.c
--- a/sys/external/bsd/drm2/linux/linux_pci.c Sun Dec 19 01:46:39 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_pci.c Sun Dec 19 01:46:52 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_pci.c,v 1.12 2021/12/19 01:21:15 riastradh Exp $ */
+/* $NetBSD: linux_pci.c,v 1.13 2021/12/19 01:46:52 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_pci.c,v 1.12 2021/12/19 01:21:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_pci.c,v 1.13 2021/12/19 01:46:52 riastradh Exp $");
#include <linux/pci.h>
@@ -353,7 +353,7 @@
if (error)
return error;
- resource->size = size;
+ resource->end = start + (size - 1);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index