aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2007-09-07 03:15:31 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:47:21 -0400
commit41fa2adabc0a750a40d6fe86d5ce2f75fb3ad287 (patch)
treea23eb761e971890f23cbbb4a73f90a09ee4e46ed /drivers
parent82d1ce505d1a77a03acb9d22240ef5a63a18b653 (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')
-rw-r--r--drivers/s390/scsi/zfcp_aux.c4
-rw-r--r--drivers/s390/scsi/zfcp_def.h46
-rw-r--r--drivers/s390/scsi/zfcp_erp.c134
-rw-r--r--drivers/s390/scsi/zfcp_ext.h30
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c40
-rw-r--r--drivers/s390/scsi/zfcp_fsf.h30
-rw-r--r--drivers/s390/scsi/zfcp_qdio.c7
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c36
-rw-r--r--drivers/s390/scsi/zfcp_sysfs_unit.c4
9 files changed, 165 insertions, 166 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
index 4a67320fb4bc..7507067351bd 100644
--- a/drivers/s390/scsi/zfcp_aux.c
+++ b/drivers/s390/scsi/zfcp_aux.c
@@ -891,7 +891,7 @@ zfcp_unit_dequeue(struct zfcp_unit *unit)
891/* 891/*
892 * Allocates a combined QTCB/fsf_req buffer for erp actions and fcp/SCSI 892 * Allocates a combined QTCB/fsf_req buffer for erp actions and fcp/SCSI
893 * commands. 893 * commands.
894 * It also genrates fcp-nameserver request/response buffer and unsolicited 894 * It also genrates fcp-nameserver request/response buffer and unsolicited
895 * status read fsf_req buffers. 895 * status read fsf_req buffers.
896 * 896 *
897 * locks: must only be called with zfcp_data.config_sema taken 897 * locks: must only be called with zfcp_data.config_sema taken
@@ -982,7 +982,7 @@ zfcp_adapter_enqueue(struct ccw_device *ccw_device)
982 struct zfcp_adapter *adapter; 982 struct zfcp_adapter *adapter;
983 983
984 /* 984 /*
985 * Note: It is safe to release the list_lock, as any list changes 985 * Note: It is safe to release the list_lock, as any list changes
986 * are protected by the config_sema, which must be held to get here 986 * are protected by the config_sema, which must be held to get here
987 */ 987 */
988 988
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
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c
index 31c217898772..16bfc66ac2e8 100644
--- a/drivers/s390/scsi/zfcp_erp.c
+++ b/drivers/s390/scsi/zfcp_erp.c
@@ -1,22 +1,22 @@
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#define ZFCP_LOG_AREA ZFCP_LOG_AREA_ERP 22#define ZFCP_LOG_AREA ZFCP_LOG_AREA_ERP
@@ -191,7 +191,7 @@ void zfcp_fsf_start_timer(struct zfcp_fsf_req *fsf_req, unsigned long timeout)
191} 191}
192 192
193/* 193/*
194 * function: 194 * function:
195 * 195 *
196 * purpose: called if an adapter failed, 196 * purpose: called if an adapter failed,
197 * initiates adapter recovery which is done 197 * initiates adapter recovery which is done
@@ -228,7 +228,7 @@ zfcp_erp_adapter_reopen_internal(struct zfcp_adapter *adapter, int clear_mask)
228} 228}
229 229
230/* 230/*
231 * function: 231 * function:
232 * 232 *
233 * purpose: Wrappper for zfcp_erp_adapter_reopen_internal 233 * purpose: Wrappper for zfcp_erp_adapter_reopen_internal
234 * used to ensure the correct locking 234 * used to ensure the correct locking
@@ -476,7 +476,7 @@ zfcp_test_link(struct zfcp_port *port)
476 476
477 477
478/* 478/*
479 * function: 479 * function:
480 * 480 *
481 * purpose: called if a port failed to be opened normally 481 * purpose: called if a port failed to be opened normally
482 * initiates Forced Reopen recovery which is done 482 * initiates Forced Reopen recovery which is done
@@ -517,7 +517,7 @@ zfcp_erp_port_forced_reopen_internal(struct zfcp_port *port, int clear_mask)
517} 517}
518 518
519/* 519/*
520 * function: 520 * function:
521 * 521 *
522 * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal 522 * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal
523 * used to ensure the correct locking 523 * used to ensure the correct locking
@@ -543,7 +543,7 @@ zfcp_erp_port_forced_reopen(struct zfcp_port *port, int clear_mask)
543} 543}
544 544
545/* 545/*
546 * function: 546 * function:
547 * 547 *
548 * purpose: called if a port is to be opened 548 * purpose: called if a port is to be opened
549 * initiates Reopen recovery which is done 549 * initiates Reopen recovery which is done
@@ -612,7 +612,7 @@ zfcp_erp_port_reopen(struct zfcp_port *port, int clear_mask)
612} 612}
613 613
614/* 614/*
615 * function: 615 * function:
616 * 616 *
617 * purpose: called if a unit is to be opened 617 * purpose: called if a unit is to be opened
618 * initiates Reopen recovery which is done 618 * initiates Reopen recovery which is done
@@ -704,7 +704,7 @@ static void zfcp_erp_adapter_unblock(struct zfcp_adapter *adapter)
704} 704}
705 705
706/* 706/*
707 * function: 707 * function:
708 * 708 *
709 * purpose: disable I/O, 709 * purpose: disable I/O,
710 * return any open requests and clean them up, 710 * return any open requests and clean them up,
@@ -725,7 +725,7 @@ zfcp_erp_port_block(struct zfcp_port *port, int clear_mask)
725} 725}
726 726
727/* 727/*
728 * function: 728 * function:
729 * 729 *
730 * purpose: enable I/O 730 * purpose: enable I/O
731 * 731 *
@@ -742,7 +742,7 @@ zfcp_erp_port_unblock(struct zfcp_port *port)
742} 742}
743 743
744/* 744/*
745 * function: 745 * function:
746 * 746 *
747 * purpose: disable I/O, 747 * purpose: disable I/O,
748 * return any open requests and clean them up, 748 * return any open requests and clean them up,
@@ -763,7 +763,7 @@ zfcp_erp_unit_block(struct zfcp_unit *unit, int clear_mask)
763} 763}
764 764
765/* 765/*
766 * function: 766 * function:
767 * 767 *
768 * purpose: enable I/O 768 * purpose: enable I/O
769 * 769 *
@@ -792,7 +792,7 @@ zfcp_erp_action_ready(struct zfcp_erp_action *erp_action)
792} 792}
793 793
794/* 794/*
795 * function: 795 * function:
796 * 796 *
797 * purpose: 797 * purpose:
798 * 798 *
@@ -967,7 +967,7 @@ void zfcp_erp_timeout_handler(unsigned long data)
967 * zfcp_erp_action_dismiss - dismiss an erp_action 967 * zfcp_erp_action_dismiss - dismiss an erp_action
968 * 968 *
969 * adapter->erp_lock must be held 969 * adapter->erp_lock must be held
970 * 970 *
971 * Dismissal of an erp_action is usually required if an erp_action of 971 * Dismissal of an erp_action is usually required if an erp_action of
972 * higher priority is generated. 972 * higher priority is generated.
973 */ 973 */
@@ -1005,9 +1005,9 @@ zfcp_erp_thread_setup(struct zfcp_adapter *adapter)
1005} 1005}
1006 1006
1007/* 1007/*
1008 * function: 1008 * function:
1009 * 1009 *
1010 * purpose: 1010 * purpose:
1011 * 1011 *
1012 * returns: 1012 * returns:
1013 * 1013 *
@@ -1094,7 +1094,7 @@ zfcp_erp_thread(void *data)
1094} 1094}
1095 1095
1096/* 1096/*
1097 * function: 1097 * function:
1098 * 1098 *
1099 * purpose: drives single error recovery action and schedules higher and 1099 * purpose: drives single error recovery action and schedules higher and
1100 * subordinate actions, if necessary 1100 * subordinate actions, if necessary
@@ -1206,7 +1206,7 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action)
1206 1206
1207 /* 1207 /*
1208 * put this target through the erp mill again if someone has 1208 * put this target through the erp mill again if someone has
1209 * requested to change the status of a target being online 1209 * requested to change the status of a target being online
1210 * to offline or the other way around 1210 * to offline or the other way around
1211 * (old retval is preserved if nothing has to be done here) 1211 * (old retval is preserved if nothing has to be done here)
1212 */ 1212 */
@@ -1228,7 +1228,7 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action)
1228 unlock: 1228 unlock:
1229 write_unlock(&adapter->erp_lock); 1229 write_unlock(&adapter->erp_lock);
1230 read_unlock_irqrestore(&zfcp_data.config_lock, flags); 1230 read_unlock_irqrestore(&zfcp_data.config_lock, flags);
1231 1231
1232 if (retval != ZFCP_ERP_CONTINUES) 1232 if (retval != ZFCP_ERP_CONTINUES)
1233 zfcp_erp_action_cleanup(action, adapter, port, unit, retval); 1233 zfcp_erp_action_cleanup(action, adapter, port, unit, retval);
1234 1234
@@ -1250,9 +1250,9 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action)
1250} 1250}
1251 1251
1252/* 1252/*
1253 * function: 1253 * function:
1254 * 1254 *
1255 * purpose: 1255 * purpose:
1256 * 1256 *
1257 * returns: ZFCP_ERP_DISMISSED - if action has been dismissed 1257 * returns: ZFCP_ERP_DISMISSED - if action has been dismissed
1258 * retval - otherwise 1258 * retval - otherwise
@@ -1322,7 +1322,7 @@ zfcp_erp_strategy_do_action(struct zfcp_erp_action *erp_action)
1322} 1322}
1323 1323
1324/* 1324/*
1325 * function: 1325 * function:
1326 * 1326 *
1327 * purpose: triggers retry of this action after a certain amount of time 1327 * purpose: triggers retry of this action after a certain amount of time
1328 * by means of timer provided by erp_action 1328 * by means of timer provided by erp_action
@@ -1346,7 +1346,7 @@ zfcp_erp_strategy_memwait(struct zfcp_erp_action *erp_action)
1346 return retval; 1346 return retval;
1347} 1347}
1348 1348
1349/* 1349/*
1350 * function: zfcp_erp_adapter_failed 1350 * function: zfcp_erp_adapter_failed
1351 * 1351 *
1352 * purpose: sets the adapter and all underlying devices to ERP_FAILED 1352 * purpose: sets the adapter and all underlying devices to ERP_FAILED
@@ -1362,7 +1362,7 @@ zfcp_erp_adapter_failed(struct zfcp_adapter *adapter)
1362 debug_text_event(adapter->erp_dbf, 2, "a_afail"); 1362 debug_text_event(adapter->erp_dbf, 2, "a_afail");
1363} 1363}
1364 1364
1365/* 1365/*
1366 * function: zfcp_erp_port_failed 1366 * function: zfcp_erp_port_failed
1367 * 1367 *
1368 * purpose: sets the port and all underlying devices to ERP_FAILED 1368 * purpose: sets the port and all underlying devices to ERP_FAILED
@@ -1386,7 +1386,7 @@ zfcp_erp_port_failed(struct zfcp_port *port)
1386 debug_event(port->adapter->erp_dbf, 2, &port->wwpn, sizeof (wwn_t)); 1386 debug_event(port->adapter->erp_dbf, 2, &port->wwpn, sizeof (wwn_t));
1387} 1387}
1388 1388
1389/* 1389/*
1390 * function: zfcp_erp_unit_failed 1390 * function: zfcp_erp_unit_failed
1391 * 1391 *
1392 * purpose: sets the unit to ERP_FAILED 1392 * purpose: sets the unit to ERP_FAILED
@@ -1417,7 +1417,7 @@ zfcp_erp_unit_failed(struct zfcp_unit *unit)
1417 * successfully is reset. 1417 * successfully is reset.
1418 * 1418 *
1419 * returns: ZFCP_ERP_CONTINUES - action continues (not considered) 1419 * returns: ZFCP_ERP_CONTINUES - action continues (not considered)
1420 * ZFCP_ERP_SUCCEEDED - action finished successfully 1420 * ZFCP_ERP_SUCCEEDED - action finished successfully
1421 * ZFCP_ERP_EXIT - action failed and will not continue 1421 * ZFCP_ERP_EXIT - action failed and will not continue
1422 */ 1422 */
1423static int 1423static int
@@ -1646,7 +1646,7 @@ zfcp_erp_schedule_work(struct zfcp_unit *unit)
1646} 1646}
1647 1647
1648/* 1648/*
1649 * function: 1649 * function:
1650 * 1650 *
1651 * purpose: remaining things in good cases, 1651 * purpose: remaining things in good cases,
1652 * escalation in bad cases 1652 * escalation in bad cases
@@ -1815,7 +1815,7 @@ zfcp_erp_modify_unit_status(struct zfcp_unit *unit, u32 mask, int set_or_clear)
1815} 1815}
1816 1816
1817/* 1817/*
1818 * function: 1818 * function:
1819 * 1819 *
1820 * purpose: Wrappper for zfcp_erp_port_reopen_all_internal 1820 * purpose: Wrappper for zfcp_erp_port_reopen_all_internal
1821 * used to ensure the correct locking 1821 * used to ensure the correct locking
@@ -1852,9 +1852,9 @@ zfcp_erp_port_reopen_all_internal(struct zfcp_adapter *adapter, int clear_mask)
1852} 1852}
1853 1853
1854/* 1854/*
1855 * function: 1855 * function:
1856 * 1856 *
1857 * purpose: 1857 * purpose:
1858 * 1858 *
1859 * returns: FIXME 1859 * returns: FIXME
1860 */ 1860 */
@@ -1871,7 +1871,7 @@ zfcp_erp_unit_reopen_all_internal(struct zfcp_port *port, int clear_mask)
1871} 1871}
1872 1872
1873/* 1873/*
1874 * function: 1874 * function:
1875 * 1875 *
1876 * purpose: this routine executes the 'Reopen Adapter' action 1876 * purpose: this routine executes the 'Reopen Adapter' action
1877 * (the entire action is processed synchronously, since 1877 * (the entire action is processed synchronously, since
@@ -1908,9 +1908,9 @@ zfcp_erp_adapter_strategy(struct zfcp_erp_action *erp_action)
1908} 1908}
1909 1909
1910/* 1910/*
1911 * function: 1911 * function:
1912 * 1912 *
1913 * purpose: 1913 * purpose:
1914 * 1914 *
1915 * returns: ZFCP_ERP_SUCCEEDED - action finished successfully 1915 * returns: ZFCP_ERP_SUCCEEDED - action finished successfully
1916 * ZFCP_ERP_FAILED - action finished unsuccessfully 1916 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -1930,9 +1930,9 @@ zfcp_erp_adapter_strategy_close(struct zfcp_erp_action *erp_action)
1930} 1930}
1931 1931
1932/* 1932/*
1933 * function: 1933 * function:
1934 * 1934 *
1935 * purpose: 1935 * purpose:
1936 * 1936 *
1937 * returns: ZFCP_ERP_SUCCEEDED - action finished successfully 1937 * returns: ZFCP_ERP_SUCCEEDED - action finished successfully
1938 * ZFCP_ERP_FAILED - action finished unsuccessfully 1938 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -1957,7 +1957,7 @@ zfcp_erp_adapter_strategy_open(struct zfcp_erp_action *erp_action)
1957 * purpose: allocate the irq associated with this devno and register 1957 * purpose: allocate the irq associated with this devno and register
1958 * the FSF adapter with the SCSI stack 1958 * the FSF adapter with the SCSI stack
1959 * 1959 *
1960 * returns: 1960 * returns:
1961 */ 1961 */
1962static int 1962static int
1963zfcp_erp_adapter_strategy_generic(struct zfcp_erp_action *erp_action, int close) 1963zfcp_erp_adapter_strategy_generic(struct zfcp_erp_action *erp_action, int close)
@@ -2249,7 +2249,7 @@ zfcp_erp_adapter_strategy_open_fsf_statusread(struct zfcp_erp_action
2249} 2249}
2250 2250
2251/* 2251/*
2252 * function: 2252 * function:
2253 * 2253 *
2254 * purpose: this routine executes the 'Reopen Physical Port' action 2254 * purpose: this routine executes the 'Reopen Physical Port' action
2255 * 2255 *
@@ -2308,7 +2308,7 @@ zfcp_erp_port_forced_strategy(struct zfcp_erp_action *erp_action)
2308} 2308}
2309 2309
2310/* 2310/*
2311 * function: 2311 * function:
2312 * 2312 *
2313 * purpose: this routine executes the 'Reopen Port' action 2313 * purpose: this routine executes the 'Reopen Port' action
2314 * 2314 *
@@ -2530,7 +2530,7 @@ zfcp_erp_port_strategy_open_nameserver(struct zfcp_erp_action *erp_action)
2530} 2530}
2531 2531
2532/* 2532/*
2533 * function: 2533 * function:
2534 * 2534 *
2535 * purpose: makes the erp thread continue with reopen (physical) port 2535 * purpose: makes the erp thread continue with reopen (physical) port
2536 * actions which have been paused until the name server port 2536 * actions which have been paused until the name server port
@@ -2570,9 +2570,9 @@ zfcp_erp_port_strategy_open_nameserver_wakeup(struct zfcp_erp_action
2570} 2570}
2571 2571
2572/* 2572/*
2573 * function: 2573 * function:
2574 * 2574 *
2575 * purpose: 2575 * purpose:
2576 * 2576 *
2577 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2577 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2578 * ZFCP_ERP_FAILED - action finished unsuccessfully 2578 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2626,9 +2626,9 @@ zfcp_erp_port_strategy_clearstati(struct zfcp_port *port)
2626} 2626}
2627 2627
2628/* 2628/*
2629 * function: 2629 * function:
2630 * 2630 *
2631 * purpose: 2631 * purpose:
2632 * 2632 *
2633 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2633 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2634 * ZFCP_ERP_FAILED - action finished unsuccessfully 2634 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2663,9 +2663,9 @@ zfcp_erp_port_strategy_close(struct zfcp_erp_action *erp_action)
2663} 2663}
2664 2664
2665/* 2665/*
2666 * function: 2666 * function:
2667 * 2667 *
2668 * purpose: 2668 * purpose:
2669 * 2669 *
2670 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2670 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2671 * ZFCP_ERP_FAILED - action finished unsuccessfully 2671 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2700,9 +2700,9 @@ zfcp_erp_port_strategy_open_port(struct zfcp_erp_action *erp_action)
2700} 2700}
2701 2701
2702/* 2702/*
2703 * function: 2703 * function:
2704 * 2704 *
2705 * purpose: 2705 * purpose:
2706 * 2706 *
2707 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2707 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2708 * ZFCP_ERP_FAILED - action finished unsuccessfully 2708 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2737,7 +2737,7 @@ zfcp_erp_port_strategy_open_common_lookup(struct zfcp_erp_action *erp_action)
2737} 2737}
2738 2738
2739/* 2739/*
2740 * function: 2740 * function:
2741 * 2741 *
2742 * purpose: this routine executes the 'Reopen Unit' action 2742 * purpose: this routine executes the 'Reopen Unit' action
2743 * currently no retries 2743 * currently no retries
@@ -2825,9 +2825,9 @@ zfcp_erp_unit_strategy_clearstati(struct zfcp_unit *unit)
2825} 2825}
2826 2826
2827/* 2827/*
2828 * function: 2828 * function:
2829 * 2829 *
2830 * purpose: 2830 * purpose:
2831 * 2831 *
2832 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2832 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2833 * ZFCP_ERP_FAILED - action finished unsuccessfully 2833 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2865,9 +2865,9 @@ zfcp_erp_unit_strategy_close(struct zfcp_erp_action *erp_action)
2865} 2865}
2866 2866
2867/* 2867/*
2868 * function: 2868 * function:
2869 * 2869 *
2870 * purpose: 2870 * purpose:
2871 * 2871 *
2872 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) 2872 * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously)
2873 * ZFCP_ERP_FAILED - action finished unsuccessfully 2873 * ZFCP_ERP_FAILED - action finished unsuccessfully
@@ -2913,7 +2913,7 @@ void zfcp_erp_start_timer(struct zfcp_fsf_req *fsf_req)
2913} 2913}
2914 2914
2915/* 2915/*
2916 * function: 2916 * function:
2917 * 2917 *
2918 * purpose: enqueue the specified error recovery action, if needed 2918 * purpose: enqueue the specified error recovery action, if needed
2919 * 2919 *
@@ -2992,7 +2992,7 @@ zfcp_erp_action_enqueue(int action,
2992 port->erp_action.action); 2992 port->erp_action.action);
2993 debug_text_event(adapter->erp_dbf, 4, 2993 debug_text_event(adapter->erp_dbf, 4,
2994 "pf_actenq_drp"); 2994 "pf_actenq_drp");
2995 } else 2995 } else
2996 debug_text_event(adapter->erp_dbf, 4, 2996 debug_text_event(adapter->erp_dbf, 4,
2997 "pf_actenq_drpcp"); 2997 "pf_actenq_drpcp");
2998 debug_event(adapter->erp_dbf, 4, &port->wwpn, 2998 debug_event(adapter->erp_dbf, 4, &port->wwpn,
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h
index 722c55b9f8fa..8534cf09546c 100644
--- a/drivers/s390/scsi/zfcp_ext.h
+++ b/drivers/s390/scsi/zfcp_ext.h
@@ -1,22 +1,22 @@
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_EXT_H 22#ifndef ZFCP_EXT_H
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 4aa8834276f9..ff866ebd44ac 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -80,10 +80,10 @@ static const char zfcp_act_subtable_type[5][8] = {
80/* 80/*
81 * function: zfcp_fsf_req_alloc 81 * function: zfcp_fsf_req_alloc
82 * 82 *
83 * purpose: Obtains an fsf_req and potentially a qtcb (for all but 83 * purpose: Obtains an fsf_req and potentially a qtcb (for all but
84 * unsolicited requests) via helper functions 84 * unsolicited requests) via helper functions
85 * Does some initial fsf request set-up. 85 * Does some initial fsf request set-up.
86 * 86 *
87 * returns: pointer to allocated fsf_req if successfull 87 * returns: pointer to allocated fsf_req if successfull
88 * NULL otherwise 88 * NULL otherwise
89 * 89 *
@@ -192,7 +192,7 @@ void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *adapter)
192 * returns: 0 - success 192 * returns: 0 - success
193 * !0 - failure 193 * !0 - failure
194 * 194 *
195 * context: 195 * context:
196 */ 196 */
197int 197int
198zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) 198zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req)
@@ -214,8 +214,8 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req)
214 } 214 }
215 215
216 /* 216 /*
217 * fsf_req may be deleted due to waking up functions, so 217 * fsf_req may be deleted due to waking up functions, so
218 * cleanup is saved here and used later 218 * cleanup is saved here and used later
219 */ 219 */
220 if (likely(fsf_req->status & ZFCP_STATUS_FSFREQ_CLEANUP)) 220 if (likely(fsf_req->status & ZFCP_STATUS_FSFREQ_CLEANUP))
221 cleanup = 1; 221 cleanup = 1;
@@ -259,9 +259,9 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req)
259 * and initiates appropriate actions 259 * and initiates appropriate actions
260 * (usually calling FSF command specific handlers) 260 * (usually calling FSF command specific handlers)
261 * 261 *
262 * returns: 262 * returns:
263 * 263 *
264 * context: 264 * context:
265 * 265 *
266 * locks: 266 * locks:
267 */ 267 */
@@ -638,7 +638,7 @@ zfcp_fsf_link_down_info_eval(struct zfcp_adapter *adapter,
638 * 638 *
639 * purpose: calls the appropriate command specific handler 639 * purpose: calls the appropriate command specific handler
640 * 640 *
641 * returns: 641 * returns:
642 */ 642 */
643static int 643static int
644zfcp_fsf_req_dispatch(struct zfcp_fsf_req *fsf_req) 644zfcp_fsf_req_dispatch(struct zfcp_fsf_req *fsf_req)
@@ -854,7 +854,7 @@ zfcp_fsf_status_read_port_closed(struct zfcp_fsf_req *fsf_req)
854 * 854 *
855 * purpose: is called for finished Open Port command 855 * purpose: is called for finished Open Port command
856 * 856 *
857 * returns: 857 * returns:
858 */ 858 */
859static int 859static int
860zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) 860zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req)
@@ -1088,7 +1088,7 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req)
1088 * returns: address of initiated FSF request 1088 * returns: address of initiated FSF request
1089 * NULL - request could not be initiated 1089 * NULL - request could not be initiated
1090 * 1090 *
1091 * FIXME(design): should be watched by a timeout !!! 1091 * FIXME(design): should be watched by a timeout !!!
1092 * FIXME(design) shouldn't this be modified to return an int 1092 * FIXME(design) shouldn't this be modified to return an int
1093 * also...don't know how though 1093 * also...don't know how though
1094 */ 1094 */
@@ -1157,7 +1157,7 @@ zfcp_fsf_abort_fcp_command(unsigned long old_req_id,
1157 * 1157 *
1158 * purpose: is called for finished Abort FCP Command request 1158 * purpose: is called for finished Abort FCP Command request
1159 * 1159 *
1160 * returns: 1160 * returns:
1161 */ 1161 */
1162static int 1162static int
1163zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) 1163zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req)
@@ -2437,10 +2437,10 @@ zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req *fsf_req)
2437/* 2437/*
2438 * function: zfcp_fsf_open_port 2438 * function: zfcp_fsf_open_port
2439 * 2439 *
2440 * purpose: 2440 * purpose:
2441 * 2441 *
2442 * returns: address of initiated FSF request 2442 * returns: address of initiated FSF request
2443 * NULL - request could not be initiated 2443 * NULL - request could not be initiated
2444 */ 2444 */
2445int 2445int
2446zfcp_fsf_open_port(struct zfcp_erp_action *erp_action) 2446zfcp_fsf_open_port(struct zfcp_erp_action *erp_action)
@@ -2501,7 +2501,7 @@ zfcp_fsf_open_port(struct zfcp_erp_action *erp_action)
2501 * 2501 *
2502 * purpose: is called for finished Open Port command 2502 * purpose: is called for finished Open Port command
2503 * 2503 *
2504 * returns: 2504 * returns:
2505 */ 2505 */
2506static int 2506static int
2507zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) 2507zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req)
@@ -3103,7 +3103,7 @@ zfcp_fsf_open_unit(struct zfcp_erp_action *erp_action)
3103 * 3103 *
3104 * purpose: is called for finished Open LUN command 3104 * purpose: is called for finished Open LUN command
3105 * 3105 *
3106 * returns: 3106 * returns:
3107 */ 3107 */
3108static int 3108static int
3109zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) 3109zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req)
@@ -3366,7 +3366,7 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req)
3366 * purpose: 3366 * purpose:
3367 * 3367 *
3368 * returns: address of fsf_req - request successfully initiated 3368 * returns: address of fsf_req - request successfully initiated
3369 * NULL - 3369 * NULL -
3370 * 3370 *
3371 * assumptions: This routine does not check whether the associated 3371 * assumptions: This routine does not check whether the associated
3372 * remote port/lun has already been opened. This should be 3372 * remote port/lun has already been opened. This should be
@@ -3828,7 +3828,7 @@ zfcp_fsf_send_fcp_command_task_management(struct zfcp_adapter *adapter,
3828 * 3828 *
3829 * purpose: is called for finished Send FCP Command 3829 * purpose: is called for finished Send FCP Command
3830 * 3830 *
3831 * returns: 3831 * returns:
3832 */ 3832 */
3833static int 3833static int
3834zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) 3834zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req)
@@ -4065,7 +4065,7 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req)
4065 * 4065 *
4066 * purpose: evaluates FCP_RSP IU 4066 * purpose: evaluates FCP_RSP IU
4067 * 4067 *
4068 * returns: 4068 * returns:
4069 */ 4069 */
4070static int 4070static int
4071zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) 4071zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req)
@@ -4293,7 +4293,7 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req)
4293 * 4293 *
4294 * purpose: evaluates FCP_RSP IU 4294 * purpose: evaluates FCP_RSP IU
4295 * 4295 *
4296 * returns: 4296 * returns:
4297 */ 4297 */
4298static int 4298static int
4299zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req) 4299zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req)
@@ -4736,7 +4736,7 @@ zfcp_fsf_req_create(struct zfcp_adapter *adapter, u32 fsf_cmd, int req_flags,
4736 INIT_LIST_HEAD(&fsf_req->list); 4736 INIT_LIST_HEAD(&fsf_req->list);
4737 init_timer(&fsf_req->timer); 4737 init_timer(&fsf_req->timer);
4738 4738
4739 /* initialize waitqueue which may be used to wait on 4739 /* initialize waitqueue which may be used to wait on
4740 this request completion */ 4740 this request completion */
4741 init_waitqueue_head(&fsf_req->completion_wq); 4741 init_waitqueue_head(&fsf_req->completion_wq);
4742 4742
diff --git a/drivers/s390/scsi/zfcp_fsf.h b/drivers/s390/scsi/zfcp_fsf.h
index 71186618947c..8cce5cc11d50 100644
--- a/drivers/s390/scsi/zfcp_fsf.h
+++ b/drivers/s390/scsi/zfcp_fsf.h
@@ -1,22 +1,22 @@
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 FSF_H 22#ifndef FSF_H
diff --git a/drivers/s390/scsi/zfcp_qdio.c b/drivers/s390/scsi/zfcp_qdio.c
index c6899efdc8f6..3f105fdcf239 100644
--- a/drivers/s390/scsi/zfcp_qdio.c
+++ b/drivers/s390/scsi/zfcp_qdio.c
@@ -174,10 +174,9 @@ zfcp_qdio_handler_error_check(struct zfcp_adapter *adapter, unsigned int status,
174 * That is why we need to clear the link-down flag 174 * That is why we need to clear the link-down flag
175 * which is set again in case we have missed by a mile. 175 * which is set again in case we have missed by a mile.
176 */ 176 */
177 zfcp_erp_adapter_reopen( 177 zfcp_erp_adapter_reopen(adapter,
178 adapter, 178 ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED |
179 ZFCP_STATUS_ADAPTER_LINK_UNPLUGGED | 179 ZFCP_STATUS_COMMON_ERP_FAILED);
180 ZFCP_STATUS_COMMON_ERP_FAILED);
181 } 180 }
182 return retval; 181 return retval;
183} 182}
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 5fbbd21a88e4..abae2027f7e5 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -1,22 +1,22 @@
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#define ZFCP_LOG_AREA ZFCP_LOG_AREA_SCSI 22#define ZFCP_LOG_AREA ZFCP_LOG_AREA_SCSI
@@ -101,7 +101,7 @@ zfcp_get_fcp_dl_ptr(struct fcp_cmnd_iu * fcp_cmd)
101 ((unsigned char *) fcp_cmd + 101 ((unsigned char *) fcp_cmd +
102 sizeof (struct fcp_cmnd_iu) + additional_length); 102 sizeof (struct fcp_cmnd_iu) + additional_length);
103 /* 103 /*
104 * fcp_dl_addr = start address of fcp_cmnd structure + 104 * fcp_dl_addr = start address of fcp_cmnd structure +
105 * size of fixed part + size of dynamically sized add_dcp_cdb field 105 * size of fixed part + size of dynamically sized add_dcp_cdb field
106 * SEE FCP-2 documentation 106 * SEE FCP-2 documentation
107 */ 107 */
@@ -194,7 +194,7 @@ static void zfcp_scsi_slave_destroy(struct scsi_device *sdpnt)
194 "address %p\n", sdpnt); 194 "address %p\n", sdpnt);
195} 195}
196 196
197/* 197/*
198 * called from scsi midlayer to allow finetuning of a device. 198 * called from scsi midlayer to allow finetuning of a device.
199 */ 199 */
200static int 200static int
@@ -372,7 +372,7 @@ zfcp_unit_lookup(struct zfcp_adapter *adapter, int channel, unsigned int id,
372 372
373/** 373/**
374 * zfcp_scsi_eh_abort_handler - abort the specified SCSI command 374 * zfcp_scsi_eh_abort_handler - abort the specified SCSI command
375 * @scpnt: pointer to scsi_cmnd to be aborted 375 * @scpnt: pointer to scsi_cmnd to be aborted
376 * Return: SUCCESS - command has been aborted and cleaned up in internal 376 * Return: SUCCESS - command has been aborted and cleaned up in internal
377 * bookkeeping, SCSI stack won't be called for aborted command 377 * bookkeeping, SCSI stack won't be called for aborted command
378 * FAILED - otherwise 378 * FAILED - otherwise
diff --git a/drivers/s390/scsi/zfcp_sysfs_unit.c b/drivers/s390/scsi/zfcp_sysfs_unit.c
index 81a484175863..63f75ee95c33 100644
--- a/drivers/s390/scsi/zfcp_sysfs_unit.c
+++ b/drivers/s390/scsi/zfcp_sysfs_unit.c
@@ -139,7 +139,7 @@ static struct attribute_group zfcp_unit_attr_group = {
139 .attrs = zfcp_unit_attrs, 139 .attrs = zfcp_unit_attrs,
140}; 140};
141 141
142/** 142/**
143 * zfcp_sysfs_create_unit_files - create sysfs unit files 143 * zfcp_sysfs_create_unit_files - create sysfs unit files
144 * @dev: pointer to belonging device 144 * @dev: pointer to belonging device
145 * 145 *
@@ -151,7 +151,7 @@ zfcp_sysfs_unit_create_files(struct device *dev)
151 return sysfs_create_group(&dev->kobj, &zfcp_unit_attr_group); 151 return sysfs_create_group(&dev->kobj, &zfcp_unit_attr_group);
152} 152}
153 153
154/** 154/**
155 * zfcp_sysfs_remove_unit_files - remove sysfs unit files 155 * zfcp_sysfs_remove_unit_files - remove sysfs unit files
156 * @dev: pointer to belonging device 156 * @dev: pointer to belonging device
157 * 157 *