@@ -269,7 +269,7 @@ void qla4xxx_complete_iocb(struct scsi_qla_host *ha)
* This routine is called by qla4xxx_queuecommand to build an ISP
* command and pass it to the ISP for execution.
**/
-int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
+int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb *srb)
{
struct scsi_cmnd *cmd = srb->cmd;
struct ddb_entry *ddb_entry;
@@ -342,7 +342,7 @@ int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
cmd_entry->control_flags = CF_READ;
ha->bytes_xfered += scsi_bufflen(cmd);
- if (ha->bytes_xfered & ~0xFFFFF){
+ if (ha->bytes_xfered & ~0xFFFFF) {
ha->total_mbytes_xferred += ha->bytes_xfered >> 20;
ha->bytes_xfered &= 0xFFFFF;
}
Fix the following errors reported by checkpatch: ERROR: "foo * bar" should be "foo *bar" ERROR: space required before the open brace '{' Signed-off-by: XueBing Chen <chenxb_99091@126.com> --- drivers/scsi/qla4xxx/ql4_iocb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)