svn commit: r303821 - head/sys/dev/etherswitch/arswitch
Sepherosa Ziehau
sephe at FreeBSD.org
Mon Aug 8 05:57:06 UTC 2016
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, ®);
More information about the svn-src-head
mailing list