* [PATCH] rapidio: fix kernel-doc warning
@ 2009-01-01 4:37 Jianjun Kong
2009-01-01 4:39 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Jianjun Kong @ 2009-01-01 4:37 UTC (permalink / raw)
To: randy.dunlap; +Cc: Linux-Kernel-Mailing-List, mporter
rapidio: fix kernel-doc warning
Fix kernel-doc parameter warning and correct the descriptio:
Warning(/media/sda1/Project/linux-2.6//drivers/rapidio/rio-driver.c:88): Excess function parameter 'id'
description in 'rio_device_probe'
The parameter 'id' may be deleted.
Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
---
drivers/rapidio/rio-driver.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c
index 956d3e7..cd6f14e 100644
--- a/drivers/rapidio/rio-driver.c
+++ b/drivers/rapidio/rio-driver.c
@@ -78,8 +78,7 @@ void rio_dev_put(struct rio_dev *rdev)
}
/**
- * rio_device_probe - Tell if a RIO device structure has a matching RIO device id structure
- * @id: the RIO device id structure to match against
+ * rio_device_probe - Tell if a RIO device structure has a matching RIO device structure
* @dev: the RIO device structure to match against
*
* return 0 and set rio_dev->driver when drv claims rio_dev, else error
--
1.5.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rapidio: fix kernel-doc warning
2009-01-01 4:37 [PATCH] rapidio: fix kernel-doc warning Jianjun Kong
@ 2009-01-01 4:39 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2009-01-01 4:39 UTC (permalink / raw)
To: Jianjun Kong; +Cc: Linux-Kernel-Mailing-List, mporter
Jianjun Kong wrote:
> rapidio: fix kernel-doc warning
>
> Fix kernel-doc parameter warning and correct the descriptio:
> Warning(/media/sda1/Project/linux-2.6//drivers/rapidio/rio-driver.c:88): Excess function parameter 'id'
> description in 'rio_device_probe'
> The parameter 'id' may be deleted.
>
> Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
> Cc: Matt Porter <mporter@kernel.crashing.org>
Hi and thanks, but this is already fixed in Andrew Morton's mm patch series.
You should probably check there for other such patches.
> ---
> drivers/rapidio/rio-driver.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c
> index 956d3e7..cd6f14e 100644
> --- a/drivers/rapidio/rio-driver.c
> +++ b/drivers/rapidio/rio-driver.c
> @@ -78,8 +78,7 @@ void rio_dev_put(struct rio_dev *rdev)
> }
>
> /**
> - * rio_device_probe - Tell if a RIO device structure has a matching RIO device id structure
> - * @id: the RIO device id structure to match against
> + * rio_device_probe - Tell if a RIO device structure has a matching RIO device structure
> * @dev: the RIO device structure to match against
> *
> * return 0 and set rio_dev->driver when drv claims rio_dev, else error
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-01 4:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-01 4:37 [PATCH] rapidio: fix kernel-doc warning Jianjun Kong
2009-01-01 4:39 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox