1717#include <linux/errno.h>
1818#include <linux/kernel.h>
1919#include <linux/log2.h>
20+ #include <linux/io.h>
2021#include <linux/ip.h>
2122#include <linux/tcp.h>
2223#include <linux/mii.h>
3536
3637#include <asm/ebcdic.h>
3738#include <asm/chpid.h>
38- #include <asm/io.h>
3939#include <asm/sysinfo.h>
4040#include <asm/diag.h>
4141#include <asm/cio.h>
@@ -209,9 +209,8 @@ static void qeth_clear_working_pool_list(struct qeth_card *card)
209209
210210 QETH_CARD_TEXT (card , 5 , "clwrklst" );
211211 list_for_each_entry_safe (pool_entry , tmp ,
212- & card -> qdio .in_buf_pool .entry_list , list ){
213- list_del (& pool_entry -> list );
214- }
212+ & card -> qdio .in_buf_pool .entry_list , list )
213+ list_del (& pool_entry -> list );
215214
216215 for (i = 0 ; i < ARRAY_SIZE (queue -> bufs ); i ++ )
217216 queue -> bufs [i ].pool_entry = NULL ;
@@ -481,6 +480,7 @@ static void qeth_cleanup_handled_pending(struct qeth_qdio_out_q *q, int bidx,
481480 atomic_read (& c -> state ) ==
482481 QETH_QDIO_BUF_HANDLED_DELAYED ) {
483482 struct qeth_qdio_out_buffer * f = c ;
483+
484484 QETH_CARD_TEXT (f -> q -> card , 5 , "fp" );
485485 QETH_CARD_TEXT_ (f -> q -> card , 5 , "%lx" , (long ) f );
486486 /* release here to avoid interleaving between
@@ -507,7 +507,6 @@ static void qeth_cleanup_handled_pending(struct qeth_qdio_out_q *q, int bidx,
507507 }
508508}
509509
510-
511510static void qeth_qdio_handle_aob (struct qeth_card * card ,
512511 unsigned long phys_aob_addr )
513512{
@@ -884,6 +883,7 @@ static void qeth_issue_ipa_msg(struct qeth_ipa_cmd *cmd, int rc,
884883{
885884 const char * ipa_name ;
886885 int com = cmd -> hdr .command ;
886+
887887 ipa_name = qeth_get_ipa_cmd_name (com );
888888
889889 if (rc )
@@ -1253,7 +1253,7 @@ static int qeth_get_problem(struct qeth_card *card, struct ccw_device *cdev,
12531253 return 0 ;
12541254 }
12551255 QETH_CARD_TEXT (card , 2 , "DGENCHK" );
1256- return - EIO ;
1256+ return - EIO ;
12571257 }
12581258 return 0 ;
12591259}
@@ -1600,7 +1600,7 @@ static void qeth_start_kernel_thread(struct work_struct *work)
16001600 struct task_struct * ts ;
16011601 struct qeth_card * card = container_of (work , struct qeth_card ,
16021602 kernel_thread_starter );
1603- QETH_CARD_TEXT (card , 2 , "strthrd" );
1603+ QETH_CARD_TEXT (card , 2 , "strthrd" );
16041604
16051605 if (card -> read .state != CH_STATE_UP &&
16061606 card -> write .state != CH_STATE_UP )
@@ -3416,7 +3416,6 @@ static void qeth_get_trap_id(struct qeth_card *card, struct qeth_trap_id *tid)
34163416 memcpy (tid -> vmname , info322 -> vm [0 ].name , sizeof (tid -> vmname ));
34173417 }
34183418 free_page (info );
3419- return ;
34203419}
34213420
34223421static int qeth_hw_trap_cb (struct qeth_card * card ,
@@ -4998,7 +4997,6 @@ static void qeth_determine_capabilities(struct qeth_card *card)
49984997 card -> options .cq = QETH_CQ_NOTAVAILABLE ;
49994998 }
50004999
5001-
50025000out_offline :
50035001 if (ddev_offline == 1 )
50045002 qeth_stop_channel (channel );
@@ -6050,6 +6048,7 @@ EXPORT_SYMBOL_GPL(qeth_send_simple_setassparms_prot);
60506048static void qeth_unregister_dbf_views (void )
60516049{
60526050 int x ;
6051+
60536052 for (x = 0 ; x < QETH_DBF_INFOS ; x ++ ) {
60546053 debug_unregister (qeth_dbf [x ].id );
60556054 qeth_dbf [x ].id = NULL ;
@@ -6413,6 +6412,7 @@ static int qeth_core_set_offline(struct ccwgroup_device *gdev)
64136412static void qeth_core_shutdown (struct ccwgroup_device * gdev )
64146413{
64156414 struct qeth_card * card = dev_get_drvdata (& gdev -> dev );
6415+
64166416 qeth_set_allowed_threads (card , 0 , 1 );
64176417 if ((gdev -> state == CCWGROUP_ONLINE ) && card -> info .hwtrap )
64186418 qeth_hw_trap (card , QETH_DIAGS_TRAP_DISARM );
0 commit comments