Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 padlock(4): Return zero, not error, if we'v...



details:   https://anonhg.NetBSD.org/src/rev/44d6504969e7
branches:  trunk
changeset: 366325:44d6504969e7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun May 22 11:38:02 2022 +0000

description:
padlock(4): Return zero, not error, if we've issued crypto_done.

diffstat:

 sys/arch/x86/x86/via_padlock.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 3252aca4a2ce -r 44d6504969e7 sys/arch/x86/x86/via_padlock.c
--- a/sys/arch/x86/x86/via_padlock.c    Sun May 22 11:35:21 2022 +0000
+++ b/sys/arch/x86/x86/via_padlock.c    Sun May 22 11:38:02 2022 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: via.c,v 1.8 2006/11/17 07:47:56 tom Exp $     */
-/*     $NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $ */
+/*     $NetBSD: via_padlock.c,v 1.33 2022/05/22 11:38:02 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2003 Jason Wright
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.32 2022/05/22 11:27:34 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: via_padlock.c,v 1.33 2022/05/22 11:38:02 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -504,7 +504,7 @@
 out:
        crp->crp_etype = err;
        crypto_done(crp);
-       return (err);
+       return 0;
 }
 
 static int



Home | Main Index | Thread Index | Old Index