Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/aarch64 Local variable p is __diagused.
details: https://anonhg.NetBSD.org/src/rev/1b4fd92a2898
branches: trunk
changeset: 447908:1b4fd92a2898
user: alnsn <alnsn%NetBSD.org@localhost>
date: Sun Jan 27 19:13:04 2019 +0000
description:
Local variable p is __diagused.
diffstat:
sys/arch/aarch64/aarch64/netbsd32_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2814c02e7aff -r 1b4fd92a2898 sys/arch/aarch64/aarch64/netbsd32_machdep.c
--- a/sys/arch/aarch64/aarch64/netbsd32_machdep.c Sun Jan 27 18:29:10 2019 +0000
+++ b/sys/arch/aarch64/aarch64/netbsd32_machdep.c Sun Jan 27 19:13:04 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.4 2019/01/27 02:08:36 pgoyette Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.5 2019/01/27 19:13:04 alnsn Exp $ */
/*
* Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.4 2019/01/27 02:08:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.5 2019/01/27 19:13:04 alnsn Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -308,7 +308,7 @@
int
cpu_mcontext32_validate(struct lwp *l, const mcontext32_t *mcp)
{
- struct proc * const p = l->l_proc;
+ struct proc * const p __diagused = l->l_proc;
const uint32_t spsr = mcp->__gregs[_REG_CPSR];
KASSERT(p->p_flag & PK_32);
Home |
Main Index |
Thread Index |
Old Index