SC_DEBUG() requires an initialized scsi_link. Shuffle
authorkrw <krw@openbsd.org>
Sun, 27 Feb 2022 02:27:55 +0000 (02:27 +0000)
committerkrw <krw@openbsd.org>
Sun, 27 Feb 2022 02:27:55 +0000 (02:27 +0000)
commitdd2bb77956f6643e4de5609f1ab8f5ec99fc81de
treeb70ae263ab15fe28fffc0285b9ed21a00365fa7c
parent44c64fb195adab3b88aed69476e60484b5c32bbc
SC_DEBUG() requires an initialized scsi_link. Shuffle
code to make it so.

Pointed out by clang when prodded with SCSIDEBUG.
sys/scsi/sd.c
sys/scsi/st.c