diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2007-09-07 03:15:31 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:47:21 -0400 |
commit | 41fa2adabc0a750a40d6fe86d5ce2f75fb3ad287 (patch) | |
tree | a23eb761e971890f23cbbb4a73f90a09ee4e46ed /drivers/s390/scsi/zfcp_def.h | |
parent | 82d1ce505d1a77a03acb9d22240ef5a63a18b653 (diff) |
[SCSI] zfcp: whitespace cleanup
Cleanup the whitepace from the entire zfcp driver to prevent
to have those changes in future feature or function patches.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index b36dfc40d9fa..16e5563e0c65 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -1,23 +1,23 @@ | |||
1 | /* | 1 | /* |
2 | * This file is part of the zfcp device driver for | 2 | * This file is part of the zfcp device driver for |
3 | * FCP adapters for IBM System z9 and zSeries. | 3 | * FCP adapters for IBM System z9 and zSeries. |
4 | * | 4 | * |
5 | * (C) Copyright IBM Corp. 2002, 2006 | 5 | * (C) Copyright IBM Corp. 2002, 2006 |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
9 | * the Free Software Foundation; either version 2, or (at your option) | 9 | * the Free Software Foundation; either version 2, or (at your option) |
10 | * any later version. | 10 | * any later version. |
11 | * | 11 | * |
12 | * This program is distributed in the hope that it will be useful, | 12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. | 15 | * GNU General Public License for more details. |
16 | * | 16 | * |
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #ifndef ZFCP_DEF_H | 22 | #ifndef ZFCP_DEF_H |
23 | #define ZFCP_DEF_H | 23 | #define ZFCP_DEF_H |
@@ -90,7 +90,7 @@ zfcp_address_to_sg(void *address, struct scatterlist *list) | |||
90 | #define ZFCP_DEVICE_TYPE 0x1732 | 90 | #define ZFCP_DEVICE_TYPE 0x1732 |
91 | #define ZFCP_DEVICE_MODEL 0x03 | 91 | #define ZFCP_DEVICE_MODEL 0x03 |
92 | #define ZFCP_DEVICE_MODEL_PRIV 0x04 | 92 | #define ZFCP_DEVICE_MODEL_PRIV 0x04 |
93 | 93 | ||
94 | /* allow as many chained SBALs as are supported by hardware */ | 94 | /* allow as many chained SBALs as are supported by hardware */ |
95 | #define ZFCP_MAX_SBALS_PER_REQ FSF_MAX_SBALS_PER_REQ | 95 | #define ZFCP_MAX_SBALS_PER_REQ FSF_MAX_SBALS_PER_REQ |
96 | #define ZFCP_MAX_SBALS_PER_CT_REQ FSF_MAX_SBALS_PER_REQ | 96 | #define ZFCP_MAX_SBALS_PER_CT_REQ FSF_MAX_SBALS_PER_REQ |
@@ -508,7 +508,7 @@ struct zfcp_rc_entry { | |||
508 | 508 | ||
509 | /* | 509 | /* |
510 | * this allows removal of logging code by the preprocessor | 510 | * this allows removal of logging code by the preprocessor |
511 | * (the most detailed log level still to be compiled in is specified, | 511 | * (the most detailed log level still to be compiled in is specified, |
512 | * higher log levels are removed) | 512 | * higher log levels are removed) |
513 | */ | 513 | */ |
514 | #define ZFCP_LOG_LEVEL_LIMIT ZFCP_LOG_LEVEL_TRACE | 514 | #define ZFCP_LOG_LEVEL_LIMIT ZFCP_LOG_LEVEL_TRACE |
@@ -546,7 +546,7 @@ do { \ | |||
546 | if (ZFCP_LOG_CHECK(level)) \ | 546 | if (ZFCP_LOG_CHECK(level)) \ |
547 | _ZFCP_LOG(fmt, ##args); \ | 547 | _ZFCP_LOG(fmt, ##args); \ |
548 | } while (0) | 548 | } while (0) |
549 | 549 | ||
550 | #if ZFCP_LOG_LEVEL_LIMIT < ZFCP_LOG_LEVEL_NORMAL | 550 | #if ZFCP_LOG_LEVEL_LIMIT < ZFCP_LOG_LEVEL_NORMAL |
551 | # define ZFCP_LOG_NORMAL(fmt, args...) do { } while (0) | 551 | # define ZFCP_LOG_NORMAL(fmt, args...) do { } while (0) |
552 | #else | 552 | #else |
@@ -583,8 +583,8 @@ do { \ | |||
583 | 583 | ||
584 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ | 584 | /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/ |
585 | 585 | ||
586 | /* | 586 | /* |
587 | * Note, the leftmost status byte is common among adapter, port | 587 | * Note, the leftmost status byte is common among adapter, port |
588 | * and unit | 588 | * and unit |
589 | */ | 589 | */ |
590 | #define ZFCP_COMMON_FLAGS 0xfff00000 | 590 | #define ZFCP_COMMON_FLAGS 0xfff00000 |
@@ -1007,8 +1007,8 @@ struct zfcp_fsf_req { | |||
1007 | u32 fsf_command; /* FSF Command copy */ | 1007 | u32 fsf_command; /* FSF Command copy */ |
1008 | struct fsf_qtcb *qtcb; /* address of associated QTCB */ | 1008 | struct fsf_qtcb *qtcb; /* address of associated QTCB */ |
1009 | u32 seq_no; /* Sequence number of request */ | 1009 | u32 seq_no; /* Sequence number of request */ |
1010 | unsigned long data; /* private data of request */ | 1010 | unsigned long data; /* private data of request */ |
1011 | struct timer_list timer; /* used for erp or scsi er */ | 1011 | struct timer_list timer; /* used for erp or scsi er */ |
1012 | struct zfcp_erp_action *erp_action; /* used if this request is | 1012 | struct zfcp_erp_action *erp_action; /* used if this request is |
1013 | issued on behalf of erp */ | 1013 | issued on behalf of erp */ |
1014 | mempool_t *pool; /* used if request was alloacted | 1014 | mempool_t *pool; /* used if request was alloacted |