Skip to content

Commit 948e505

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390/ap: fix kernel doc comments
Get rid of warnings like: drivers/s390/crypto/ap_bus.c:216: warning: bad line: drivers/s390/crypto/ap_bus.c:444: warning: Function parameter or member 'floating' not described in 'ap_interrupt_handler' Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent 4b26cea commit 948e505

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/s390/crypto/ap_bus.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ static inline int ap_fetch_qci_info(struct ap_config_info *info)
213213
* ap_init_qci_info(): Allocate and query qci config info.
214214
* Does also update the static variables ap_max_domain_id
215215
* and ap_max_adapter_id if this info is available.
216-
217216
*/
218217
static void __init ap_init_qci_info(void)
219218
{
@@ -439,6 +438,7 @@ static enum hrtimer_restart ap_poll_timeout(struct hrtimer *unused)
439438
/**
440439
* ap_interrupt_handler() - Schedule ap_tasklet on interrupt
441440
* @airq: pointer to adapter interrupt descriptor
441+
* @floating: ignored
442442
*/
443443
static void ap_interrupt_handler(struct airq_struct *airq, bool floating)
444444
{
@@ -1786,6 +1786,7 @@ static inline void ap_scan_adapter(int ap)
17861786
/**
17871787
* ap_scan_bus(): Scan the AP bus for new devices
17881788
* Runs periodically, workqueue timer (ap_config_time)
1789+
* @unused: Unused pointer.
17891790
*/
17901791
static void ap_scan_bus(struct work_struct *unused)
17911792
{

drivers/s390/crypto/ap_queue.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static void __ap_flush_queue(struct ap_queue *aq);
2020

2121
/**
2222
* ap_queue_enable_irq(): Enable interrupt support on this AP queue.
23-
* @qid: The AP queue number
23+
* @aq: The AP queue
2424
* @ind: the notification indicator byte
2525
*
2626
* Enables interruption on AP queue via ap_aqic(). Based on the return
@@ -311,7 +311,7 @@ static enum ap_sm_wait ap_sm_read_write(struct ap_queue *aq)
311311

312312
/**
313313
* ap_sm_reset(): Reset an AP queue.
314-
* @qid: The AP queue number
314+
* @aq: The AP queue
315315
*
316316
* Submit the Reset command to an AP queue.
317317
*/

0 commit comments

Comments
 (0)