Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/pci glxsb(4): Return zero, not error, if we've...



details:   https://anonhg.NetBSD.org/src/rev/3252aca4a2ce
branches:  trunk
changeset: 366324:3252aca4a2ce
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun May 22 11:35:21 2022 +0000

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

diffstat:

 sys/arch/i386/pci/glxsb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ee3b86036e00 -r 3252aca4a2ce sys/arch/i386/pci/glxsb.c
--- a/sys/arch/i386/pci/glxsb.c Sun May 22 11:35:13 2022 +0000
+++ b/sys/arch/i386/pci/glxsb.c Sun May 22 11:35:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: glxsb.c,v 1.16 2020/06/29 23:32:24 riastradh Exp $     */
+/*     $NetBSD: glxsb.c,v 1.17 2022/05/22 11:35:21 riastradh Exp $     */
 /* $OpenBSD: glxsb.c,v 1.7 2007/02/12 14:31:45 tom Exp $ */
 
 /*
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: glxsb.c,v 1.16 2020/06/29 23:32:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: glxsb.c,v 1.17 2022/05/22 11:35:21 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -581,7 +581,7 @@
        crp->crp_etype = err;
        crypto_done(crp);
        splx(s);
-       return (err);
+       return 0;
 }
 
 int



Home | Main Index | Thread Index | Old Index