Fix whitespace bugs
- Delete trailing whitespace. - Replace 8 single column spaces with hard tabs. - Delete lines with consisting purely of blank space. - Add space between `return` and `(`, per style(9). Special care was taken to not blindly replace 8 single column spaces with tabs; doing so could break tools that do strict string comparisons with camcontrol output.
This commit is contained in:
parent
4e38d89520
commit
32b7e40e69
@ -3041,8 +3041,7 @@ atasecurity(struct cam_device *device, int retry_count, int timeout,
|
||||
}
|
||||
|
||||
error = atasecurity_erase(device, ccb, retry_count,
|
||||
timeout, erase_timeout, &pwd,
|
||||
quiet);
|
||||
timeout, erase_timeout, &pwd, quiet);
|
||||
} else {
|
||||
warnx("Can't secure erase (security is disabled)");
|
||||
error = 1;
|
||||
@ -7607,8 +7606,7 @@ mmcsdcmd(struct cam_device *device, int argc, char **argv, char *combinedopt,
|
||||
case SD_IO_RW_DIRECT:
|
||||
printf("IO_RW_DIRECT: resp byte %02x, cur state %d\n",
|
||||
SD_R5_DATA(ccb->mmcio.cmd.resp),
|
||||
(ccb->mmcio.cmd.resp[0] >> 12) & 0x3
|
||||
);
|
||||
(ccb->mmcio.cmd.resp[0] >> 12) & 0x3);
|
||||
break;
|
||||
case SD_IO_RW_EXTENDED:
|
||||
printf("IO_RW_EXTENDED: read %d bytes w/o error:\n", mmc_data_len);
|
||||
@ -8891,7 +8889,6 @@ scsigetopcodes(struct cam_device *device, int opcode_set, int opcode,
|
||||
if (verbosemode != 0)
|
||||
cam_error_print(device, ccb, CAM_ESF_ALL,
|
||||
CAM_EPF_ALL, stderr);
|
||||
|
||||
retval = 1;
|
||||
goto bailout;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user