Author: trasz
Date: Tue May 12 15:03:47 2009
New Revision: 192015
URL: http://svn.freebsd.org/changeset/base/192015

Log:
  Add missing 'break' statements.
  
  Found with:   Coverity Prevent(tm)
  CID:          3936, 3937
  Reviewed by:  scottl@

Modified:
  head/sys/cam/scsi/scsi_sg.c

Modified: head/sys/cam/scsi/scsi_sg.c
==============================================================================
--- head/sys/cam/scsi/scsi_sg.c Tue May 12 09:38:51 2009        (r192014)
+++ head/sys/cam/scsi/scsi_sg.c Tue May 12 15:03:47 2009        (r192015)
@@ -953,6 +953,7 @@ sg_scsiio_status(struct ccb_scsiio *csio
        case CAM_SCSI_STATUS_ERROR:
                *hoststat = DID_ERROR;
                *drvstat = 0;
+               break;
        case CAM_SCSI_BUS_RESET:
                *hoststat = DID_RESET;
                *drvstat = 0;
@@ -964,6 +965,7 @@ sg_scsiio_status(struct ccb_scsiio *csio
        case CAM_SCSI_BUSY:
                *hoststat = DID_BUS_BUSY;
                *drvstat = 0;
+               break;
        default:
                *hoststat = DID_ERROR;
                *drvstat = DRIVER_ERROR;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to