Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/scsipi Pull up revision 1.20 (requested by mjac...



details:   https://anonhg.NetBSD.org/src/rev/c4d8e51e9386
branches:  netbsd-1-6
changeset: 530271:c4d8e51e9386
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Jun 16 12:43:46 2003 +0000

description:
Pull up revision 1.20 (requested by mjacob in ticket #1162):

kern/20231- pass the correct argument (arg_addr) on thru to scsipi_do_ioctl,
not the locally dereferenced fetch.

diffstat:

 sys/dev/scsipi/ses.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 451d55bf6ea7 -r c4d8e51e9386 sys/dev/scsipi/ses.c
--- a/sys/dev/scsipi/ses.c      Mon Jun 16 12:42:44 2003 +0000
+++ b/sys/dev/scsipi/ses.c      Mon Jun 16 12:43:46 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ses.c,v 1.13.10.1 2003/06/16 12:42:44 grant Exp $ */
+/*     $NetBSD: ses.c,v 1.13.10.2 2003/06/16 12:43:46 grant Exp $ */
 /*
  * Copyright (C) 2000 National Aeronautics & Space Administration
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ses.c,v 1.13.10.1 2003/06/16 12:42:44 grant Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ses.c,v 1.13.10.2 2003/06/16 12:43:46 grant Exp $");
 
 #include "opt_scsi.h"
 
@@ -485,7 +485,7 @@
 
        default:
                error = scsipi_do_ioctl(ssc->sc_periph,
-                           dev, cmd, addr, flag, p);
+                           dev, cmd, arg_addr, flag, p);
                break;
        }
        return (error);



Home | Main Index | Thread Index | Old Index