On Tue, 5 May 2015, Christos Zoulas wrote:
In article <20150505002825.9E5039A%cvs.netbsd.org@localhost>, Paul Goyette <source-changes-d%NetBSD.org@localhost> wrote:-=-=-=-=-=- Module Name: src Committed By: pgoyette Date: Tue May 5 00:28:25 UTC 2015 Modified Files: src/sys/dev/sysmon: sysmon.c Log Message: If module_autoload() returns an error, just return that value instead of overwriting with ENODEV. Thanks, christos!Yes, but break before the mutex_enter...
Need to hold the mutex so we can release it below... ------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | -------------------------------------------------------------------------