freebsd-dev/sys/cam/scsi
Pedro F. Giffuni d8e49c71e3 chdone(): Prevent returning uninitialized scalar value.
Improve over the solution in r297527:
Instead of attempting to initialize all the possible cases, just
move the check nearer to the case where it makes sense.

CID:		1006486
Reviewed by:	ken
MFC after:	2 weeks
2016-04-07 21:33:14 +00:00
..
scsi_all.c Update list of opcodes to 5/26/15. 2015-09-18 10:44:25 +00:00
scsi_all.h Add new report types to REPORT LUNS command. 2015-09-24 12:22:47 +00:00
scsi_cd.c Remove legacy CHS geometry from dmesg and unify capacity outputs. 2015-10-11 13:48:20 +00:00
scsi_cd.h Add CD/DVD Capabilities and Mechanical Status Page. 2015-09-29 09:09:37 +00:00
scsi_ch.c chdone(): Prevent returning uninitialized scalar value. 2016-04-07 21:33:14 +00:00
scsi_ch.h Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
scsi_da.c CAM: Generalize 4k quirk to all Samsung MZ7* SSDs 2016-03-29 06:56:46 +00:00
scsi_da.h Improve camcontrol(8) handling of drive defect data. 2015-01-08 16:58:40 +00:00
scsi_dvcfg.h
scsi_enc_internal.h Merge CAM locking changes from the projects/camlock branch to radically 2013-10-21 12:00:26 +00:00
scsi_enc_safte.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
scsi_enc_ses.c Add API to obtain primary enclosure name and ID for /dev/sesX devices. 2015-11-21 10:22:01 +00:00
scsi_enc.c Convert sys/cam to use make_dev_s(). 2016-01-07 20:22:55 +00:00
scsi_enc.h Add API to obtain primary enclosure name and ID for /dev/sesX devices. 2015-11-21 10:22:01 +00:00
scsi_iu.h
scsi_low.c Lock the scsi_low code and the drivers which use it along with other 2014-11-20 20:50:05 +00:00
scsi_low.h Lock the scsi_low code and the drivers which use it along with other 2014-11-20 20:50:05 +00:00
scsi_message.h Add partial support for QUERY TMF to CAM and isp(4). 2015-10-23 18:34:18 +00:00
scsi_pass.c Clean up unused-but-set-variable spotted by gcc-4.9. 2016-02-01 02:33:58 +00:00
scsi_pass.h Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
scsi_pt.c Convert sys/cam to use make_dev_s(). 2016-01-07 20:22:55 +00:00
scsi_pt.h
scsi_sa.c Clean up unused-but-set-variable spotted by gcc-4.9. 2016-02-01 02:33:58 +00:00
scsi_sa.h Fix a couple of problems in the sa(4) media type reports. 2015-03-18 20:52:34 +00:00
scsi_ses.h Fix off by one error in ses_enc_desc_last_byte(). 2012-07-24 13:32:49 +00:00
scsi_sg.c Convert sys/cam to use make_dev_s(). 2016-01-07 20:22:55 +00:00
scsi_sg.h Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
scsi_targ_bh.c Merge CAM locking changes from the projects/camlock branch to radically 2013-10-21 12:00:26 +00:00
scsi_target.c Make pass, sg and targ drivers respect HBA's maxio. 2015-09-30 13:31:37 +00:00
scsi_targetio.h
scsi_xpt.c Fix the SCSI Extended INQUIRY probe case when an error is returned 2016-02-08 22:13:08 +00:00
smp_all.c
smp_all.h