git: daa0b64a2260 - main - pmap_mapdev_attr() doesn't use any of its arguments.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 06:09:59 UTC
The branch main has been updated by obrien: URL: https://cgit.FreeBSD.org/src/commit/?id=daa0b64a226031d5f753f96cd5a6fb3234cdd8b1 commit daa0b64a226031d5f753f96cd5a6fb3234cdd8b1 Author: David E. O'Brien <obrien@FreeBSD.org> AuthorDate: 2023-03-21 06:05:29 +0000 Commit: David E. O'Brien <obrien@FreeBSD.org> CommitDate: 2023-03-21 06:09:34 +0000 pmap_mapdev_attr() doesn't use any of its arguments. --- sys/arm/include/pmap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h index 90b1cdb827af..b16651f789cc 100644 --- a/sys/arm/include/pmap.h +++ b/sys/arm/include/pmap.h @@ -50,7 +50,8 @@ void *pmap_mapdev(vm_paddr_t, vm_size_t); void pmap_unmapdev(void *, vm_size_t); static inline void * -pmap_mapdev_attr(vm_paddr_t addr, vm_size_t size, int attr) +pmap_mapdev_attr(vm_paddr_t addr __unused, vm_size_t size __unused, + int attr __unused) { panic("%s is not implemented yet!\n", __func__); }