From db24922d55adfc0695121d94808e67f6fe962c30 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Oct 2009 12:25:13 +0000 Subject: [PATCH] Removed trailing whitespace. Verified that the output of svn diff -x -w is empty for this commit. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1166 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x_tgt.h | 12 ++++++------ qla2x00t/qla2x_tgt_def.h | 26 +++++++++++++------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/qla2x00t/qla2x_tgt.h b/qla2x00t/qla2x_tgt.h index 5f3421714..26c2e1842 100644 --- a/qla2x00t/qla2x_tgt.h +++ b/qla2x00t/qla2x_tgt.h @@ -1,18 +1,18 @@ /* * qla2x_tgt.h - * + * * Copyright (C) 2004 - 2009 Vladislav Bolkhovitin * Copyright (C) 2004 - 2005 Leonid Stoljar * Copyright (C) 2006 Nathaniel Clark * Copyright (C) 2007 - 2009 ID7 Ltd. * * Additional file for the target driver support. - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -74,7 +74,7 @@ static inline bool qla_tgt_mode_enabled(scsi_qla_host_t *ha) * then reaquire. */ static inline void -__qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable) +__qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable) { elun_entry_t *pkt; @@ -92,14 +92,14 @@ __qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable) pkt->immed_notify_count = 0; pkt->timeout = 0; } - DEBUG2(printk(KERN_DEBUG + DEBUG2(printk(KERN_DEBUG "scsi%lu:ENABLE_LUN IOCB imm %u cmd %u timeout %u\n", ha->host_no, pkt->immed_notify_count, pkt->command_count, pkt->timeout)); /* Issue command to ISP */ qla2x00_isp_cmd(ha); - + } else qla_clear_tgt_mode(ha); #if defined(QL_DEBUG_LEVEL_2) || defined(QL_DEBUG_LEVEL_3) diff --git a/qla2x00t/qla2x_tgt_def.h b/qla2x00t/qla2x_tgt_def.h index 863aa440f..faae9d4f9 100644 --- a/qla2x00t/qla2x_tgt_def.h +++ b/qla2x00t/qla2x_tgt_def.h @@ -1,18 +1,18 @@ /* * qla2x_tgt_def.h - * + * * Copyright (C) 2004 - 2009 Vladislav Bolkhovitin * Copyright (C) 2004 - 2005 Leonid Stoljar * Copyright (C) 2006 Nathaniel Clark * Copyright (C) 2007 - 2009 ID7 Ltd. * * Additional file for the target driver support. - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -46,7 +46,7 @@ #define QLA2X00_COMMAND_COUNT_INIT 250 #define QLA2X00_IMMED_NOTIFY_COUNT_INIT 250 -/* +/* * Used to mark which completion handles (for RIO Status's) are for CTIO's * vs. regular (non-target) info. This is checked for in * qla2x00_process_response_queue() to see if a handle coming back in a @@ -683,7 +683,7 @@ typedef struct uint32_t handle; uint16_t compl_status; #define ABTS_RESP_COMPL_SUCCESS 0 -#define ABTS_RESP_COMPL_SUBCODE_ERROR 0x31 +#define ABTS_RESP_COMPL_SUBCODE_ERROR 0x31 uint16_t nport_handle; uint16_t reserved_1; uint8_t reserved_2; @@ -702,9 +702,9 @@ typedef struct * Type Definitions used by initiator & target halves \********************************************************************/ -typedef enum { - DISABLE_TARGET_MODE = 0, - ENABLE_TARGET_MODE = 1 +typedef enum { + DISABLE_TARGET_MODE = 0, + ENABLE_TARGET_MODE = 1 } qla2x_tgt_host_action_t; struct qla_tgt_initiator @@ -717,7 +717,7 @@ struct qla_tgt_initiator void (*tgt2x_ctio_completion)(scsi_qla_host_t *ha, uint32_t handle); void (*tgt_async_event)(uint16_t code, scsi_qla_host_t *ha, uint16_t *mailbox); - int (*tgt_host_action)(scsi_qla_host_t *ha, qla2x_tgt_host_action_t + int (*tgt_host_action)(scsi_qla_host_t *ha, qla2x_tgt_host_action_t action); void (*tgt_fc_port_added)(scsi_qla_host_t *ha, fc_port_t *fcport); void (*tgt_fc_port_deleted)(scsi_qla_host_t *ha, fc_port_t *fcport); @@ -726,8 +726,8 @@ struct qla_tgt_initiator struct qla_target { int magic; - - /* + + /* * Callbacks - H/W lock MUST be held while calling any. * * !!! req_pkt() and issue_marker() could unlock/lock it inside !!! @@ -741,7 +741,7 @@ struct qla_target * cross those functions boundaries, except tgt_shutdown, which * additionally protected by irq_cmd_count. */ - request_t *(*req_pkt)(scsi_qla_host_t *ha); + request_t *(*req_pkt)(scsi_qla_host_t *ha); void (*isp_cmd)(scsi_qla_host_t *ha); void (*enable_tgt_mode)(scsi_qla_host_t *ha); void (*disable_tgt_mode)(scsi_qla_host_t *ha); @@ -753,7 +753,7 @@ struct qla_target uint8_t opt); }; -int qla2xxx_tgt_register_driver(/* IN */ struct qla_tgt_initiator *tgt, +int qla2xxx_tgt_register_driver(/* IN */ struct qla_tgt_initiator *tgt, /* OUT */ struct qla_target *init); void qla2xxx_tgt_unregister_driver(void);