Skip to content

Commit 364e3f9

Browse files
Sebastian OttMartin Schwidefsky
authored andcommitted
s390/cio: fix kernel-doc usage
Fix the kernel-doc usage in cio to get rid of (W=1) build warnings like: drivers/s390/cio/cio.c:1068: warning: No description found for parameter 'sch' Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 6587553 commit 364e3f9

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

drivers/s390/cio/chp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static void chp_release(struct device *dev)
412412

413413
/**
414414
* chp_update_desc - update channel-path description
415-
* @chp - channel-path
415+
* @chp: channel-path
416416
*
417417
* Update the channel-path description of the specified channel-path
418418
* including channel measurement related information.
@@ -438,7 +438,7 @@ int chp_update_desc(struct channel_path *chp)
438438

439439
/**
440440
* chp_new - register a new channel-path
441-
* @chpid - channel-path ID
441+
* @chpid: channel-path ID
442442
*
443443
* Create and register data structure representing new channel-path. Return
444444
* zero on success, non-zero otherwise.
@@ -730,8 +730,8 @@ static void cfg_func(struct work_struct *work)
730730

731731
/**
732732
* chp_cfg_schedule - schedule chpid configuration request
733-
* @chpid - channel-path ID
734-
* @configure - Non-zero for configure, zero for deconfigure
733+
* @chpid: channel-path ID
734+
* @configure: Non-zero for configure, zero for deconfigure
735735
*
736736
* Schedule a channel-path configuration/deconfiguration request.
737737
*/
@@ -747,7 +747,7 @@ void chp_cfg_schedule(struct chp_id chpid, int configure)
747747

748748
/**
749749
* chp_cfg_cancel_deconfigure - cancel chpid deconfiguration request
750-
* @chpid - channel-path ID
750+
* @chpid: channel-path ID
751751
*
752752
* Cancel an active channel-path deconfiguration request if it has not yet
753753
* been performed.

drivers/s390/cio/cio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ EXPORT_SYMBOL_GPL(cio_tm_start_key);
10591059

10601060
/**
10611061
* cio_tm_intrg - perform interrogate function
1062-
* @sch - subchannel on which to perform the interrogate function
1062+
* @sch: subchannel on which to perform the interrogate function
10631063
*
10641064
* If the specified subchannel is running in transport-mode, perform the
10651065
* interrogate function. Return zero on success, non-zero otherwie.

drivers/s390/cio/itcw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <asm/fcx.h>
1616
#include <asm/itcw.h>
1717

18-
/**
18+
/*
1919
* struct itcw - incremental tcw helper data type
2020
*
2121
* This structure serves as a handle for the incremental construction of a

drivers/s390/cio/qdio_main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static inline int do_siga_input(unsigned long schid, unsigned int mask,
7272
* @mask: which output queues to process
7373
* @bb: busy bit indicator, set only if SIGA-w/wt could not access a buffer
7474
* @fc: function code to perform
75+
* @aob: asynchronous operation block
7576
*
7677
* Returns condition code.
7778
* Note: For IQDC unicast queues only the highest priority queue is processed.
@@ -1761,9 +1762,6 @@ EXPORT_SYMBOL(qdio_stop_irq);
17611762
* @response: Response code will be stored at this address
17621763
* @cb: Callback function will be executed for each element
17631764
* of the address list
1764-
* @priv: Pointer passed from the caller to qdio_pnso_brinfo()
1765-
* @type: Type of the address entry passed to the callback
1766-
* @entry: Entry containg the address of the specified type
17671765
* @priv: Pointer to pass to the callback function.
17681766
*
17691767
* Performs "Store-network-bridging-information list" operation and calls

drivers/s390/cio/vfio_ccw_cp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ void cp_update_scsw(struct channel_program *cp, union scsw *scsw)
835835

836836
/**
837837
* cp_iova_pinned() - check if an iova is pinned for a ccw chain.
838-
* @cmd: ccwchain command on which to perform the operation
838+
* @cp: channel_program on which to perform the operation
839839
* @iova: the iova to check
840840
*
841841
* If the @iova is currently pinned for the ccw chain, return true;

0 commit comments

Comments
 (0)