Module Name: src Committed By: thorpej Date: Thu Jan 28 15:53:46 UTC 2021
Modified Files: src/sys/kern: subr_device.c Log Message: In device_is_a(), handle dev or dev->dv_cfdriver being NULL. This makes the calling pattern: device_is_a(device_parent(dev), "whatever") safe. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/kern/subr_device.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.