Module Name:    src
Committed By:   pgoyette
Date:           Fri Jul 22 02:02:24 UTC 2016

Modified Files:
        src/sys/kern [pgoyette-localcount]: subr_autoconf.c

Log Message:
In config_devfree(), free the 'struct localcount'

In device_lookup_private_acquire() we need to ensure that the caller has
access to the device_t so the reference that we're acquiring can later
be device_release()d.  So we must require that the device has non-NULL
private data where the pointer back to the device_t can be stored (ie,
in xxx->sc_dev).


To generate a diff of this commit:
cvs rdiff -u -r1.246.2.2 -r1.246.2.3 src/sys/kern/subr_autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to