Date: Mon, 8 Aug 2016 05:57:04 +0000 (UTC) From: Sepherosa Ziehau <sephe@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r303821 - head/sys/dev/etherswitch/arswitch Message-ID: <201608080557.u785v4fV012276@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sephe Date: Mon Aug 8 05:57:04 2016 New Revision: 303821 URL: https://svnweb.freebsd.org/changeset/base/303821 Log: etherswitch: Unbreak LINT build Sponsored by: Microsoft Modified: head/sys/dev/etherswitch/arswitch/arswitch_reg.c Modified: head/sys/dev/etherswitch/arswitch/arswitch_reg.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_reg.c Mon Aug 8 01:01:05 2016 (r303820) +++ head/sys/dev/etherswitch/arswitch/arswitch_reg.c Mon Aug 8 05:57:04 2016 (r303821) @@ -232,7 +232,8 @@ arswitch_modifyreg(device_t dev, int add int value; uint16_t phy, reg; - ARSWITCH_LOCK_ASSERT(sc, MA_OWNED); + ARSWITCH_LOCK_ASSERT((struct arswitch_softc *)device_get_softc(dev), + MA_OWNED); arswitch_split_setpage(dev, addr, &phy, ®);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608080557.u785v4fV012276>