Skip to content

Commit 82eca59

Browse files
Srinivas-Kandagatlaandersson
authored andcommitted
rpmsg: smd: fix kerneldoc warnings
This patch fixes below kerneldoc warnings qcom_smd.c:141: warning: Function parameter or member 'dev' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'name' not described in 'qcom_smd_edge' qcom_smd.c:141: warning: Function parameter or member 'new_channel_event' not described in 'qcom_smd_edge' qcom_smd.c:222: warning: Function parameter or member 'qsept' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'registered' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'state_change_event' not described in 'qcom_smd_channel' qcom_smd.c:222: warning: Function parameter or member 'drvdata' not described in 'qcom_smd_channel' qcom_smd.c:737: warning: Function parameter or member 'wait' not described in '__qcom_smd_send' Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 6f0b958 commit 82eca59

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/rpmsg/qcom_smd.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ static const struct {
9494

9595
/**
9696
* struct qcom_smd_edge - representing a remote processor
97+
* @dev: device associated with this edge
98+
* @name: name of this edge
9799
* @of_node: of_node handle for information related to this edge
98100
* @edge_id: identifier of this edge
99101
* @remote_pid: identifier of remote processor
@@ -107,6 +109,7 @@ static const struct {
107109
* @channels_lock: guard for modifications of @channels
108110
* @allocated: array of bitmaps representing already allocated channels
109111
* @smem_available: last available amount of smem triggering a channel scan
112+
* @new_channel_event: wait queue for new channel events
110113
* @scan_work: work item for discovering new channels
111114
* @state_work: work item for edge state changes
112115
*/
@@ -173,10 +176,12 @@ struct qcom_smd_endpoint {
173176
/**
174177
* struct qcom_smd_channel - smd channel struct
175178
* @edge: qcom_smd_edge this channel is living on
176-
* @qsdev: reference to a associated smd client device
179+
* @qsept: reference to a associated smd endpoint
180+
* @registered: flag to indicate if the channel is registered
177181
* @name: name of the channel
178182
* @state: local state of the channel
179183
* @remote_state: remote state of the channel
184+
* @state_change_event: state change event
180185
* @info: byte aligned outgoing/incoming channel info
181186
* @info_word: word aligned outgoing/incoming channel info
182187
* @tx_lock: lock to make writes to the channel mutually exclusive
@@ -188,6 +193,7 @@ struct qcom_smd_endpoint {
188193
* @cb: callback function registered for this channel
189194
* @recv_lock: guard for rx info modifications and cb pointer
190195
* @pkt_size: size of the currently handled packet
196+
* @drvdata: driver private data
191197
* @list: lite entry for @channels in qcom_smd_edge
192198
*/
193199
struct qcom_smd_channel {
@@ -727,6 +733,7 @@ static int qcom_smd_write_fifo(struct qcom_smd_channel *channel,
727733
* @channel: channel handle
728734
* @data: buffer of data to write
729735
* @len: number of bytes to write
736+
* @wait: flag to indicate if write has ca wait
730737
*
731738
* This is a blocking write of len bytes into the channel's tx ring buffer and
732739
* signal the remote end. It will sleep until there is enough space available

0 commit comments

Comments
 (0)