From owner-svn-src-stable@FreeBSD.ORG Sun Mar 2 00:22:45 2014 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2E1972B; Sun, 2 Mar 2014 00:22:45 +0000 (UTC) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF1F410E0; Sun, 2 Mar 2014 00:22:44 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id t10so683778eei.14 for ; Sat, 01 Mar 2014 16:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=oF1FTfkTlkLQUT5QKtBqaf++Y/MexBaMoQ+Sgy/zDK8=; b=zm6fHjD5ULKoN258/99YMQUrqAanW3aqL8IE+x/wUdwo05Pyxk8saonPIdds8BhJXk qeAJxOZRcwPL91aeIZScVUxUWs99E3xt/u414goVWTaVe2ntdpqaJGZS25DYSWKTSqGd RvGCjCvUSg5jRQcJN3rtn9GUpdIJGJcjKk+ODRmKxBphlDVg9UYRn0fOKC+E5HkAE/kz Y3LmskMTfL5dhPFOEQM4SnOZR+/Lr7R3u1fncXRkbjJqeAi0JqwRvYhPKamSTHSIaA1j Lz8gYxQUlrw71FTKSUVk0ryVfcKYvgCaaxEPCt2H/2i/CIoUmzG1dZOPuWUysmDP0LGV H7/A== MIME-Version: 1.0 X-Received: by 10.204.96.205 with SMTP id i13mr5323953bkn.20.1393719763057; Sat, 01 Mar 2014 16:22:43 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.21.68 with HTTP; Sat, 1 Mar 2014 16:22:42 -0800 (PST) Received: by 10.205.21.68 with HTTP; Sat, 1 Mar 2014 16:22:42 -0800 (PST) In-Reply-To: <201403020020.s220K1e2044784@svn.freebsd.org> References: <201403020020.s220K1e2044784@svn.freebsd.org> Date: Sat, 1 Mar 2014 16:22:43 -0800 X-Google-Sender-Auth: bFaqugcmnXgGkBULIasmZaBuqL8 Message-ID: Subject: Re: svn commit: r262671 - stable/9/sys/dev/adb From: Justin Hibbits To: svn-src-stable-9@freebsd.org, svn-src-stable@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2014 00:22:45 -0000 Sorry. Forgot with 9 to MFC to sys/. Any way to correct this? -Justin On Mar 1, 2014 4:20 PM, "Justin Hibbits" wrote: > Author: jhibbits > Date: Sun Mar 2 00:20:00 2014 > New Revision: 262671 > URL: http://svnweb.freebsd.org/changeset/base/262671 > > Log: > MFC r261068 > > Properly sort the arguments to mtx_init(9). > > PR: misc/186020 > Submitted by: alfred > > Modified: > stable/9/sys/dev/adb/adb_kbd.c > stable/9/sys/dev/adb/adb_mouse.c > Directory Properties: > stable/9/ (props changed) > stable/9/sys/ (props changed) > stable/9/sys/dev/ (props changed) > > Modified: stable/9/sys/dev/adb/adb_kbd.c > > ============================================================================== > --- stable/9/sys/dev/adb/adb_kbd.c Sun Mar 2 00:14:57 2014 > (r262670) > +++ stable/9/sys/dev/adb/adb_kbd.c Sun Mar 2 00:20:00 2014 > (r262671) > @@ -304,7 +304,7 @@ adb_kbd_attach(device_t dev) > /* Try stepping forward to the extended keyboard protocol */ > adb_set_device_handler(dev,3); > > - mtx_init(&sc->sc_mutex,KBD_DRIVER_NAME,MTX_DEF,0); > + mtx_init(&sc->sc_mutex, KBD_DRIVER_NAME, NULL, MTX_DEF); > cv_init(&sc->sc_cv,KBD_DRIVER_NAME); > callout_init(&sc->sc_repeater, 0); > > > Modified: stable/9/sys/dev/adb/adb_mouse.c > > ============================================================================== > --- stable/9/sys/dev/adb/adb_mouse.c Sun Mar 2 00:14:57 2014 > (r262670) > +++ stable/9/sys/dev/adb/adb_mouse.c Sun Mar 2 00:20:00 2014 > (r262671) > @@ -154,7 +154,7 @@ adb_mouse_attach(device_t dev) > sc = device_get_softc(dev); > sc->sc_dev = dev; > > - mtx_init(&sc->sc_mtx,"ams",MTX_DEF,0); > + mtx_init(&sc->sc_mtx, "ams", NULL, MTX_DEF); > cv_init(&sc->sc_cv,"ams"); > > sc->flags = 0; > >