VirtualBox

Ignore:
Timestamp:
Oct 7, 2013 9:41:00 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89644
Message:

Devices: Whitespace and svn:keyword cleanups by scm.

Location:
trunk/src/VBox/Devices/Storage/VSCSI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILun.cpp

    r44528 r48947  
    120120 *
    121121 * @returns VBox status code.
    122  * @param   hVScsiLun               The virtual SCSI LUN 
     122 * @param   hVScsiLun               The virtual SCSI LUN
    123123 *                                  mounting the medium.
    124124 */
     
    142142 *
    143143 * @returns VBox status code.
    144  * @param   hVScsiLun               The virtual SCSI LUN 
     144 * @param   hVScsiLun               The virtual SCSI LUN
    145145 *                                  mounting the medium.
    146146 */
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILunMmc.cpp

    r46597 r48947  
    186186    unsigned        uCmd = pVScsiReq->pbCDB[0];
    187187
    188     /* 
     188    /*
    189189     * GET CONFIGURATION, GET EVENT/STATUS NOTIFICATION, INQUIRY, and REQUEST SENSE commands
    190190     * operate even when a unit attention condition exists for initiator; every other command
     
    194194    {
    195195        /*
    196          * A note on media changes: As long as a medium is not present, the unit remains in 
    197          * the 'not ready' state. Technically the unit becomes 'ready' soon after a medium 
    198          * is inserted; however, we internally keep the 'not ready' state until we've had 
     196         * A note on media changes: As long as a medium is not present, the unit remains in
     197         * the 'not ready' state. Technically the unit becomes 'ready' soon after a medium
     198         * is inserted; however, we internally keep the 'not ready' state until we've had
    199199         * a chance to report the UNIT ATTENTION status indicating a media change.
    200200         */
     
    205205            pVScsiLunMmc->Core.fReady = true;
    206206        }
    207         else 
     207        else
    208208            rcReq = vscsiLunReqSenseErrorSet(pVScsiLun, pVScsiReq, SCSI_SENSE_NOT_READY,
    209209                                             SCSI_ASC_MEDIUM_NOT_PRESENT, 0x00);
     
    431431            cbMax  = vscsiBE2HU16(&pVScsiReq->pbCDB[7]);
    432432            fMSF   = (pVScsiReq->pbCDB[1] >> 1) & 1;
    433             switch (format) 
     433            switch (format)
    434434            {
    435435                case 0x00:
     
    461461            vscsiDeviceReqComplete(pVScsiLun->pVScsiDevice, pVScsiReq, rcReq, false, VINF_SUCCESS);
    462462        }
    463         else if (!cSectorTransfer) 
     463        else if (!cSectorTransfer)
    464464        {
    465465            /* A 0 transfer length is not an error. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette