Page MenuHomeFreeBSD

D34994.id105280.diff
No OneTemporary

D34994.id105280.diff

diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -980,7 +980,7 @@
error = ENOENT;
MLX_CONFIG_LOCK(sc);
bus_topo_lock();
- mlxd = (struct mlxd_softc *)devclass_get_softc(mlxd_devclass, *arg);
+ mlxd = devclass_get_softc(devclass_find("mlxd"), *arg);
bus_topo_unlock();
if ((mlxd != NULL) && (mlxd->mlxd_drive >= sc->mlx_sysdrive) &&
(mlxd->mlxd_drive < (sc->mlx_sysdrive + MLX_MAXDRIVES))) {

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 11:04 AM (20 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14478855
Default Alt Text
D34994.id105280.diff (462 B)

Event Timeline