Commit daa0c28d authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

misc: mei: client.c: fix kernel-doc warnings

Fix kernel-doc warnings in client.c:

client.c:53: warning: contents before sections
client.c:68: warning: contents before sections
client.c:334: warning: contents before sections
client.c:349: warning: contents before sections
client.c:364: warning: contents before sections
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231012024845.29169-3-rdunlap@infradead.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5d33dc7d
...@@ -48,9 +48,9 @@ struct mei_me_client *mei_me_cl_get(struct mei_me_client *me_cl) ...@@ -48,9 +48,9 @@ struct mei_me_client *mei_me_cl_get(struct mei_me_client *me_cl)
/** /**
* mei_me_cl_release - free me client * mei_me_cl_release - free me client
* *
* Locking: called under "dev->device_lock" lock
*
* @ref: me_client refcount * @ref: me_client refcount
*
* Locking: called under "dev->device_lock" lock
*/ */
static void mei_me_cl_release(struct kref *ref) static void mei_me_cl_release(struct kref *ref)
{ {
...@@ -63,9 +63,9 @@ static void mei_me_cl_release(struct kref *ref) ...@@ -63,9 +63,9 @@ static void mei_me_cl_release(struct kref *ref)
/** /**
* mei_me_cl_put - decrease me client refcount and free client if necessary * mei_me_cl_put - decrease me client refcount and free client if necessary
* *
* Locking: called under "dev->device_lock" lock
*
* @me_cl: me client * @me_cl: me client
*
* Locking: called under "dev->device_lock" lock
*/ */
void mei_me_cl_put(struct mei_me_client *me_cl) void mei_me_cl_put(struct mei_me_client *me_cl)
{ {
...@@ -329,10 +329,10 @@ void mei_io_cb_free(struct mei_cl_cb *cb) ...@@ -329,10 +329,10 @@ void mei_io_cb_free(struct mei_cl_cb *cb)
/** /**
* mei_tx_cb_enqueue - queue tx callback * mei_tx_cb_enqueue - queue tx callback
* *
* Locking: called under "dev->device_lock" lock
*
* @cb: mei callback struct * @cb: mei callback struct
* @head: an instance of list to queue on * @head: an instance of list to queue on
*
* Locking: called under "dev->device_lock" lock
*/ */
static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb, static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb,
struct list_head *head) struct list_head *head)
...@@ -344,9 +344,9 @@ static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb, ...@@ -344,9 +344,9 @@ static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb,
/** /**
* mei_tx_cb_dequeue - dequeue tx callback * mei_tx_cb_dequeue - dequeue tx callback
* *
* Locking: called under "dev->device_lock" lock
*
* @cb: mei callback struct to dequeue and free * @cb: mei callback struct to dequeue and free
*
* Locking: called under "dev->device_lock" lock
*/ */
static inline void mei_tx_cb_dequeue(struct mei_cl_cb *cb) static inline void mei_tx_cb_dequeue(struct mei_cl_cb *cb)
{ {
...@@ -359,10 +359,10 @@ static inline void mei_tx_cb_dequeue(struct mei_cl_cb *cb) ...@@ -359,10 +359,10 @@ static inline void mei_tx_cb_dequeue(struct mei_cl_cb *cb)
/** /**
* mei_cl_set_read_by_fp - set pending_read flag to vtag struct for given fp * mei_cl_set_read_by_fp - set pending_read flag to vtag struct for given fp
* *
* Locking: called under "dev->device_lock" lock
*
* @cl: mei client * @cl: mei client
* @fp: pointer to file structure * @fp: pointer to file structure
*
* Locking: called under "dev->device_lock" lock
*/ */
static void mei_cl_set_read_by_fp(const struct mei_cl *cl, static void mei_cl_set_read_by_fp(const struct mei_cl *cl,
const struct file *fp) const struct file *fp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment