Module Name: src Committed By: riastradh Date: Wed Aug 24 11:19:25 UTC 2022
Modified Files: src/sys/dev/cardbus: cardbus.c src/sys/dev/pci: pci.c src/sys/kern: kern_pmf.c subr_autoconf.c src/sys/sys: device.h device_impl.h Log Message: pmf(9): *_child_register never fails. Make it return void. No kernel bump because this isn't documented or used in any modules, only in dev/pci/pci.c and dev/cardbus/cardbus.c which are as far as I know always statically linked into the kernel. The next change, however, will require a revbump -- to make pmf_device_register return void so we can prune vast swaths of dead error branches. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/dev/cardbus/cardbus.c cvs rdiff -u -r1.164 -r1.165 src/sys/dev/pci/pci.c cvs rdiff -u -r1.49 -r1.50 src/sys/kern/kern_pmf.c cvs rdiff -u -r1.303 -r1.304 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.184 -r1.185 src/sys/sys/device.h cvs rdiff -u -r1.2 -r1.3 src/sys/sys/device_impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.