Skip to content

Commit

Permalink
scsi: doc: Fix some kernel-doc markups
Browse files Browse the repository at this point in the history
Some identifiers have different names between their prototypes
and the kernel-doc markup.

[mkp: fix whitespace]

Link: https://lore.kernel.org/r/8ed7f149f25a363eea76e514c253c4e337c59379.1603469755.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
mchehab authored and martinkpetersen committed Oct 27, 2020
1 parent 56ae491 commit ae6b4e6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/iscsi_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void iscsi_sw_tcp_state_change(struct sock *sk)
}

/**
* iscsi_write_space - Called when more output buffer space is available
* iscsi_sw_tcp_write_space - Called when more output buffer space is available
* @sk: socket space is available for
**/
static void iscsi_sw_tcp_write_space(struct sock *sk)
Expand Down Expand Up @@ -353,7 +353,7 @@ static int iscsi_sw_tcp_xmit(struct iscsi_conn *conn)
}

/**
* iscsi_tcp_xmit_qlen - return the number of bytes queued for xmit
* iscsi_sw_tcp_xmit_qlen - return the number of bytes queued for xmit
* @conn: iscsi connection
*/
static inline int iscsi_sw_tcp_xmit_qlen(struct iscsi_conn *conn)
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/libiscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr,
EXPORT_SYMBOL_GPL(iscsi_conn_send_pdu);

/**
* iscsi_cmd_rsp - SCSI Command Response processing
* iscsi_scsi_cmd_rsp - SCSI Command Response processing
* @conn: iscsi connection
* @hdr: iscsi header
* @task: scsi command task
Expand Down
3 changes: 2 additions & 1 deletion drivers/scsi/scsi_devinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ static int scsi_dev_info_list_add_str(char *dev_list)
}

/**
* get_device_flags - get device specific flags from the dynamic device list.
* scsi_get_device_flags - get device specific flags from the dynamic
* device list.
* @sdev: &scsi_device to get flags for
* @vendor: vendor name
* @model: model name
Expand Down
6 changes: 3 additions & 3 deletions drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ static void scsi_softirq_done(struct request *rq)
}

/**
* scsi_dispatch_command - Dispatch a command to the low-level driver.
* scsi_dispatch_cmd - Dispatch a command to the low-level driver.
* @cmd: command block we are dispatching.
*
* Return: nonzero return request was rejected and device's queue needs to be
Expand Down Expand Up @@ -2335,7 +2335,7 @@ scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state)
EXPORT_SYMBOL(scsi_device_set_state);

/**
* sdev_evt_emit - emit a single SCSI device uevent
* scsi_evt_emit - emit a single SCSI device uevent
* @sdev: associated SCSI device
* @evt: event to emit
*
Expand Down Expand Up @@ -2383,7 +2383,7 @@ static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt)
}

/**
* sdev_evt_thread - send a uevent for each scsi event
* scsi_evt_thread - send a uevent for each scsi event
* @work: work struct for scsi_device
*
* Dispatch queued events to their associated scsi_device kobjects
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_transport_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ fc_fpin_congn_stats_update(struct Scsi_Host *shost,
}

/**
* fc_host_rcv_fpin - routine to process a received FPIN.
* fc_host_fpin_rcv - routine to process a received FPIN.
* @shost: host the FPIN was received on
* @fpin_len: length of FPIN payload, in bytes
* @fpin_buf: pointer to FPIN payload
Expand Down

0 comments on commit ae6b4e6

Please sign in to comment.