diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-09-29 09:31:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 11:56:02 -0400 |
commit | a8605ea2c20c2b97a54d7746c16ebef5ba29632a (patch) | |
tree | 5381189bc33345ce3c89c36c733b50c73ab37419 /drivers/misc/mei/main.c | |
parent | 764c065a65c31a09340e71d2c41652e7e05bf083 (diff) |
mei: fix KDoc documentation formatting
Fix Kdoc documentation formatting warnings
genertaed by ./scripts/kernel-doc
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index d31f271f6516..beedc91f03a6 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -44,7 +44,7 @@ | |||
44 | * @inode: pointer to inode structure | 44 | * @inode: pointer to inode structure |
45 | * @file: pointer to file structure | 45 | * @file: pointer to file structure |
46 | * | 46 | * |
47 | * returns 0 on success, <0 on error | 47 | * Return: 0 on success, <0 on error |
48 | */ | 48 | */ |
49 | static int mei_open(struct inode *inode, struct file *file) | 49 | static int mei_open(struct inode *inode, struct file *file) |
50 | { | 50 | { |
@@ -96,7 +96,7 @@ err_unlock: | |||
96 | * @inode: pointer to inode structure | 96 | * @inode: pointer to inode structure |
97 | * @file: pointer to file structure | 97 | * @file: pointer to file structure |
98 | * | 98 | * |
99 | * returns 0 on success, <0 on error | 99 | * Return: 0 on success, <0 on error |
100 | */ | 100 | */ |
101 | static int mei_release(struct inode *inode, struct file *file) | 101 | static int mei_release(struct inode *inode, struct file *file) |
102 | { | 102 | { |
@@ -157,7 +157,7 @@ out: | |||
157 | * @length: buffer length | 157 | * @length: buffer length |
158 | * @offset: data offset in buffer | 158 | * @offset: data offset in buffer |
159 | * | 159 | * |
160 | * returns >=0 data length on success , <0 on error | 160 | * Return: >=0 data length on success , <0 on error |
161 | */ | 161 | */ |
162 | static ssize_t mei_read(struct file *file, char __user *ubuf, | 162 | static ssize_t mei_read(struct file *file, char __user *ubuf, |
163 | size_t length, loff_t *offset) | 163 | size_t length, loff_t *offset) |
@@ -297,7 +297,7 @@ out: | |||
297 | * @length: buffer length | 297 | * @length: buffer length |
298 | * @offset: data offset in buffer | 298 | * @offset: data offset in buffer |
299 | * | 299 | * |
300 | * returns >=0 data length on success , <0 on error | 300 | * Return: >=0 data length on success , <0 on error |
301 | */ | 301 | */ |
302 | static ssize_t mei_write(struct file *file, const char __user *ubuf, | 302 | static ssize_t mei_write(struct file *file, const char __user *ubuf, |
303 | size_t length, loff_t *offset) | 303 | size_t length, loff_t *offset) |
@@ -414,13 +414,12 @@ out: | |||
414 | /** | 414 | /** |
415 | * mei_ioctl_connect_client - the connect to fw client IOCTL function | 415 | * mei_ioctl_connect_client - the connect to fw client IOCTL function |
416 | * | 416 | * |
417 | * @dev: the device structure | ||
418 | * @data: IOCTL connect data, input and output parameters | ||
419 | * @file: private data of the file object | 417 | * @file: private data of the file object |
418 | * @data: IOCTL connect data, input and output parameters | ||
420 | * | 419 | * |
421 | * Locking: called under "dev->device_lock" lock | 420 | * Locking: called under "dev->device_lock" lock |
422 | * | 421 | * |
423 | * returns 0 on success, <0 on failure. | 422 | * Return: 0 on success, <0 on failure. |
424 | */ | 423 | */ |
425 | static int mei_ioctl_connect_client(struct file *file, | 424 | static int mei_ioctl_connect_client(struct file *file, |
426 | struct mei_connect_client_data *data) | 425 | struct mei_connect_client_data *data) |
@@ -509,7 +508,7 @@ end: | |||
509 | * @cmd: ioctl command | 508 | * @cmd: ioctl command |
510 | * @data: pointer to mei message structure | 509 | * @data: pointer to mei message structure |
511 | * | 510 | * |
512 | * returns 0 on success , <0 on error | 511 | * Return: 0 on success , <0 on error |
513 | */ | 512 | */ |
514 | static long mei_ioctl(struct file *file, unsigned int cmd, unsigned long data) | 513 | static long mei_ioctl(struct file *file, unsigned int cmd, unsigned long data) |
515 | { | 514 | { |
@@ -573,7 +572,7 @@ out: | |||
573 | * @cmd: ioctl command | 572 | * @cmd: ioctl command |
574 | * @data: pointer to mei message structure | 573 | * @data: pointer to mei message structure |
575 | * | 574 | * |
576 | * returns 0 on success , <0 on error | 575 | * Return: 0 on success , <0 on error |
577 | */ | 576 | */ |
578 | #ifdef CONFIG_COMPAT | 577 | #ifdef CONFIG_COMPAT |
579 | static long mei_compat_ioctl(struct file *file, | 578 | static long mei_compat_ioctl(struct file *file, |
@@ -590,7 +589,7 @@ static long mei_compat_ioctl(struct file *file, | |||
590 | * @file: pointer to file structure | 589 | * @file: pointer to file structure |
591 | * @wait: pointer to poll_table structure | 590 | * @wait: pointer to poll_table structure |
592 | * | 591 | * |
593 | * returns poll mask | 592 | * Return: poll mask |
594 | */ | 593 | */ |
595 | static unsigned int mei_poll(struct file *file, poll_table *wait) | 594 | static unsigned int mei_poll(struct file *file, poll_table *wait) |
596 | { | 595 | { |
@@ -660,7 +659,7 @@ static DEFINE_IDR(mei_idr); | |||
660 | * | 659 | * |
661 | * @dev: device pointer | 660 | * @dev: device pointer |
662 | * | 661 | * |
663 | * returns allocated minor, or -ENOSPC if no free minor left | 662 | * Return: allocated minor, or -ENOSPC if no free minor left |
664 | */ | 663 | */ |
665 | static int mei_minor_get(struct mei_device *dev) | 664 | static int mei_minor_get(struct mei_device *dev) |
666 | { | 665 | { |