diff options
author | marius <marius@FreeBSD.org> | 2011-12-02 21:19:14 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-12-02 21:19:14 +0000 |
commit | 7b5b9bafe6519ca9217ccd8106f04b9234d77559 (patch) | |
tree | dfebbbd7b3d85ebed30a729dfa43b716bc40c522 /usr.bin/rs | |
parent | dd3857eae15e3d51ccac9a72fc595633e433179b (diff) | |
download | FreeBSD-src-7b5b9bafe6519ca9217ccd8106f04b9234d77559.zip FreeBSD-src-7b5b9bafe6519ca9217ccd8106f04b9234d77559.tar.gz |
- In device_probe_child(9) check the return value of device_set_driver(9)
when actually setting a driver as especially ENOMEM is fatal in these
cases.
- Annotate other calls to device_set_devclass(9) and device_set_driver(9)
without the return value being checked and that are okay to fail.
Reviewed by: yongari (slightly earlier version)
Diffstat (limited to 'usr.bin/rs')
0 files changed, 0 insertions, 0 deletions