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/include/linux drm2: do not try to retu...
details: https://anonhg.NetBSD.org/src/rev/2e4204f1fe60
branches: trunk
changeset: 362033:2e4204f1fe60
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Feb 26 15:57:22 2022 +0000
description:
drm2: do not try to return a value from a void function
lint complained:
vmalloc.h(79): error: void function vfree cannot return value [213]
No functional change.
diffstat:
sys/external/bsd/drm2/include/linux/vmalloc.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 760872ed33c4 -r 2e4204f1fe60 sys/external/bsd/drm2/include/linux/vmalloc.h
--- a/sys/external/bsd/drm2/include/linux/vmalloc.h Sat Feb 26 15:40:09 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/vmalloc.h Sat Feb 26 15:57:22 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmalloc.h,v 1.11 2021/12/19 12:07:55 riastradh Exp $ */
+/* $NetBSD: vmalloc.h,v 1.12 2022/02/26 15:57:22 rillig Exp $ */
/*-
* Copyright (c) 2013, 2018 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
static inline void
vfree(void *ptr)
{
- return kfree(ptr);
+ kfree(ptr);
}
#define PAGE_KERNEL UVM_PROT_RW
Home |
Main Index |
Thread Index |
Old Index