Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 16:22:43 -0800
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        svn-src-stable-9@freebsd.org, svn-src-stable@freebsd.org,  src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r262671 - stable/9/sys/dev/adb
Message-ID:  <CAHSQbTBX9=Ocmp=S7jwajeXh_sosM0Di42mkUsEM0kPcK3pMNA@mail.gmail.com>
In-Reply-To: <201403020020.s220K1e2044784@svn.freebsd.org>
References:  <201403020020.s220K1e2044784@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry. Forgot with 9 to MFC to sys/. Any way to correct this?

-Justin
On Mar 1, 2014 4:20 PM, "Justin Hibbits" <jhibbits@freebsd.org> 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;
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBX9=Ocmp=S7jwajeXh_sosM0Di42mkUsEM0kPcK3pMNA>