Skip to content

Commit 682026a

Browse files
hcahcadavem330
authored andcommitted
net/iucv: fix kernel doc comments
Fix kernel doc comments where appropriate or remove incorrect kernel doc indicators. Also move kernel doc comments directly before functions. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 832585d commit 682026a

File tree

1 file changed

+62
-62
lines changed

1 file changed

+62
-62
lines changed

net/iucv/iucv.c

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ static union iucv_param *iucv_param[NR_CPUS];
276276
static union iucv_param *iucv_param_irq[NR_CPUS];
277277

278278
/**
279-
* iucv_call_b2f0
280-
* @code: identifier of IUCV call to CP.
279+
* __iucv_call_b2f0
280+
* @command: identifier of IUCV call to CP.
281281
* @parm: pointer to a struct iucv_parm block
282282
*
283283
* Calls CP to execute IUCV commands.
@@ -309,7 +309,7 @@ static inline int iucv_call_b2f0(int command, union iucv_param *parm)
309309
return ccode == 1 ? parm->ctrl.iprcode : ccode;
310310
}
311311

312-
/**
312+
/*
313313
* iucv_query_maxconn
314314
*
315315
* Determines the maximum number of connections that may be established.
@@ -493,8 +493,8 @@ static void iucv_retrieve_cpu(void *data)
493493
cpumask_clear_cpu(cpu, &iucv_buffer_cpumask);
494494
}
495495

496-
/**
497-
* iucv_setmask_smp
496+
/*
497+
* iucv_setmask_mp
498498
*
499499
* Allow iucv interrupts on all cpus.
500500
*/
@@ -512,7 +512,7 @@ static void iucv_setmask_mp(void)
512512
cpus_read_unlock();
513513
}
514514

515-
/**
515+
/*
516516
* iucv_setmask_up
517517
*
518518
* Allow iucv interrupts on a single cpu.
@@ -529,7 +529,7 @@ static void iucv_setmask_up(void)
529529
smp_call_function_single(cpu, iucv_block_cpu, NULL, 1);
530530
}
531531

532-
/**
532+
/*
533533
* iucv_enable
534534
*
535535
* This function makes iucv ready for use. It allocates the pathid
@@ -564,7 +564,7 @@ static int iucv_enable(void)
564564
return rc;
565565
}
566566

567-
/**
567+
/*
568568
* iucv_disable
569569
*
570570
* This function shuts down iucv. It disables iucv interrupts, retrieves
@@ -1347,8 +1347,9 @@ EXPORT_SYMBOL(iucv_message_send);
13471347
* @srccls: source class of message
13481348
* @buffer: address of send buffer or address of struct iucv_array
13491349
* @size: length of send buffer
1350-
* @ansbuf: address of answer buffer or address of struct iucv_array
1350+
* @answer: address of answer buffer or address of struct iucv_array
13511351
* @asize: size of reply buffer
1352+
* @residual: ignored
13521353
*
13531354
* This function transmits data to another application. Data to be
13541355
* transmitted is in a buffer. The receiver of the send is expected to
@@ -1400,13 +1401,6 @@ int iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg,
14001401
}
14011402
EXPORT_SYMBOL(iucv_message_send2way);
14021403

1403-
/**
1404-
* iucv_path_pending
1405-
* @data: Pointer to external interrupt buffer
1406-
*
1407-
* Process connection pending work item. Called from tasklet while holding
1408-
* iucv_table_lock.
1409-
*/
14101404
struct iucv_path_pending {
14111405
u16 ippathid;
14121406
u8 ipflags1;
@@ -1420,6 +1414,13 @@ struct iucv_path_pending {
14201414
u8 res4[3];
14211415
} __packed;
14221416

1417+
/**
1418+
* iucv_path_pending
1419+
* @data: Pointer to external interrupt buffer
1420+
*
1421+
* Process connection pending work item. Called from tasklet while holding
1422+
* iucv_table_lock.
1423+
*/
14231424
static void iucv_path_pending(struct iucv_irq_data *data)
14241425
{
14251426
struct iucv_path_pending *ipp = (void *) data;
@@ -1461,13 +1462,6 @@ static void iucv_path_pending(struct iucv_irq_data *data)
14611462
iucv_sever_pathid(ipp->ippathid, error);
14621463
}
14631464

1464-
/**
1465-
* iucv_path_complete
1466-
* @data: Pointer to external interrupt buffer
1467-
*
1468-
* Process connection complete work item. Called from tasklet while holding
1469-
* iucv_table_lock.
1470-
*/
14711465
struct iucv_path_complete {
14721466
u16 ippathid;
14731467
u8 ipflags1;
@@ -1481,6 +1475,13 @@ struct iucv_path_complete {
14811475
u8 res4[3];
14821476
} __packed;
14831477

1478+
/**
1479+
* iucv_path_complete
1480+
* @data: Pointer to external interrupt buffer
1481+
*
1482+
* Process connection complete work item. Called from tasklet while holding
1483+
* iucv_table_lock.
1484+
*/
14841485
static void iucv_path_complete(struct iucv_irq_data *data)
14851486
{
14861487
struct iucv_path_complete *ipc = (void *) data;
@@ -1492,13 +1493,6 @@ static void iucv_path_complete(struct iucv_irq_data *data)
14921493
path->handler->path_complete(path, ipc->ipuser);
14931494
}
14941495

1495-
/**
1496-
* iucv_path_severed
1497-
* @data: Pointer to external interrupt buffer
1498-
*
1499-
* Process connection severed work item. Called from tasklet while holding
1500-
* iucv_table_lock.
1501-
*/
15021496
struct iucv_path_severed {
15031497
u16 ippathid;
15041498
u8 res1;
@@ -1511,6 +1505,13 @@ struct iucv_path_severed {
15111505
u8 res5[3];
15121506
} __packed;
15131507

1508+
/**
1509+
* iucv_path_severed
1510+
* @data: Pointer to external interrupt buffer
1511+
*
1512+
* Process connection severed work item. Called from tasklet while holding
1513+
* iucv_table_lock.
1514+
*/
15141515
static void iucv_path_severed(struct iucv_irq_data *data)
15151516
{
15161517
struct iucv_path_severed *ips = (void *) data;
@@ -1528,13 +1529,6 @@ static void iucv_path_severed(struct iucv_irq_data *data)
15281529
}
15291530
}
15301531

1531-
/**
1532-
* iucv_path_quiesced
1533-
* @data: Pointer to external interrupt buffer
1534-
*
1535-
* Process connection quiesced work item. Called from tasklet while holding
1536-
* iucv_table_lock.
1537-
*/
15381532
struct iucv_path_quiesced {
15391533
u16 ippathid;
15401534
u8 res1;
@@ -1547,6 +1541,13 @@ struct iucv_path_quiesced {
15471541
u8 res5[3];
15481542
} __packed;
15491543

1544+
/**
1545+
* iucv_path_quiesced
1546+
* @data: Pointer to external interrupt buffer
1547+
*
1548+
* Process connection quiesced work item. Called from tasklet while holding
1549+
* iucv_table_lock.
1550+
*/
15501551
static void iucv_path_quiesced(struct iucv_irq_data *data)
15511552
{
15521553
struct iucv_path_quiesced *ipq = (void *) data;
@@ -1556,13 +1557,6 @@ static void iucv_path_quiesced(struct iucv_irq_data *data)
15561557
path->handler->path_quiesced(path, ipq->ipuser);
15571558
}
15581559

1559-
/**
1560-
* iucv_path_resumed
1561-
* @data: Pointer to external interrupt buffer
1562-
*
1563-
* Process connection resumed work item. Called from tasklet while holding
1564-
* iucv_table_lock.
1565-
*/
15661560
struct iucv_path_resumed {
15671561
u16 ippathid;
15681562
u8 res1;
@@ -1575,6 +1569,13 @@ struct iucv_path_resumed {
15751569
u8 res5[3];
15761570
} __packed;
15771571

1572+
/**
1573+
* iucv_path_resumed
1574+
* @data: Pointer to external interrupt buffer
1575+
*
1576+
* Process connection resumed work item. Called from tasklet while holding
1577+
* iucv_table_lock.
1578+
*/
15781579
static void iucv_path_resumed(struct iucv_irq_data *data)
15791580
{
15801581
struct iucv_path_resumed *ipr = (void *) data;
@@ -1584,13 +1585,6 @@ static void iucv_path_resumed(struct iucv_irq_data *data)
15841585
path->handler->path_resumed(path, ipr->ipuser);
15851586
}
15861587

1587-
/**
1588-
* iucv_message_complete
1589-
* @data: Pointer to external interrupt buffer
1590-
*
1591-
* Process message complete work item. Called from tasklet while holding
1592-
* iucv_table_lock.
1593-
*/
15941588
struct iucv_message_complete {
15951589
u16 ippathid;
15961590
u8 ipflags1;
@@ -1606,6 +1600,13 @@ struct iucv_message_complete {
16061600
u8 res2[3];
16071601
} __packed;
16081602

1603+
/**
1604+
* iucv_message_complete
1605+
* @data: Pointer to external interrupt buffer
1606+
*
1607+
* Process message complete work item. Called from tasklet while holding
1608+
* iucv_table_lock.
1609+
*/
16091610
static void iucv_message_complete(struct iucv_irq_data *data)
16101611
{
16111612
struct iucv_message_complete *imc = (void *) data;
@@ -1624,13 +1625,6 @@ static void iucv_message_complete(struct iucv_irq_data *data)
16241625
}
16251626
}
16261627

1627-
/**
1628-
* iucv_message_pending
1629-
* @data: Pointer to external interrupt buffer
1630-
*
1631-
* Process message pending work item. Called from tasklet while holding
1632-
* iucv_table_lock.
1633-
*/
16341628
struct iucv_message_pending {
16351629
u16 ippathid;
16361630
u8 ipflags1;
@@ -1653,6 +1647,13 @@ struct iucv_message_pending {
16531647
u8 res2[3];
16541648
} __packed;
16551649

1650+
/**
1651+
* iucv_message_pending
1652+
* @data: Pointer to external interrupt buffer
1653+
*
1654+
* Process message pending work item. Called from tasklet while holding
1655+
* iucv_table_lock.
1656+
*/
16561657
static void iucv_message_pending(struct iucv_irq_data *data)
16571658
{
16581659
struct iucv_message_pending *imp = (void *) data;
@@ -1673,7 +1674,7 @@ static void iucv_message_pending(struct iucv_irq_data *data)
16731674
}
16741675
}
16751676

1676-
/**
1677+
/*
16771678
* iucv_tasklet_fn:
16781679
*
16791680
* This tasklet loops over the queue of irq buffers created by
@@ -1717,7 +1718,7 @@ static void iucv_tasklet_fn(unsigned long ignored)
17171718
spin_unlock(&iucv_table_lock);
17181719
}
17191720

1720-
/**
1721+
/*
17211722
* iucv_work_fn:
17221723
*
17231724
* This work function loops over the queue of path pending irq blocks
@@ -1748,9 +1749,8 @@ static void iucv_work_fn(struct work_struct *work)
17481749
spin_unlock_bh(&iucv_table_lock);
17491750
}
17501751

1751-
/**
1752+
/*
17521753
* iucv_external_interrupt
1753-
* @code: irq code
17541754
*
17551755
* Handles external interrupts coming in from CP.
17561756
* Places the interrupt buffer on a queue and schedules iucv_tasklet_fn().

0 commit comments

Comments
 (0)