]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix panic message.
authorWarner Losh <imp@FreeBSD.org>
Wed, 13 Feb 2019 00:10:12 +0000 (00:10 +0000)
committerWarner Losh <imp@FreeBSD.org>
Wed, 13 Feb 2019 00:10:12 +0000 (00:10 +0000)
commita73b2e25e1e2b69fb172fbb391e5bd1c3878e881
tree597458114ed92ee811108e692b48dca00727c2be
parent37e3a57cc1e406d187c5203ffbac30ee18563646
Fix panic message.

The panic message lead people to believe some userland CAM request had
caused a problem when in reallity it was for a kernel request (eg the
USER bit was cleared). Reword message. Also, improve a couple of
comments to reflect that the periph shouldn't be completely torn down
before we get here (so the path and sim pointers should be valid, but
aren't and the code is designed to be robust enough in the face of
that to give a specific panic message).
sys/cam/cam_xpt.c