All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: firewire-lib: add missing description for kerneldoc
@ 2014-11-12 13:55 Takashi Sakamoto
  2014-11-12 13:59 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Sakamoto @ 2014-11-12 13:55 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel

A description for second paramter for cmp_connection_check_used() is missing.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
 sound/firewire/cmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/firewire/cmp.c b/sound/firewire/cmp.c
index ba8df5a..dcccb01 100644
--- a/sound/firewire/cmp.c
+++ b/sound/firewire/cmp.c
@@ -154,6 +154,7 @@ EXPORT_SYMBOL(cmp_connection_init);
 /**
  * cmp_connection_check_used - check connection is already esablished or not
  * @c: the connection manager to be checked
+ * @used: the pointer to store result to check the connection
  */
 int cmp_connection_check_used(struct cmp_connection *c, bool *used)
 {
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA: firewire-lib: add missing description for kerneldoc
  2014-11-12 13:55 [PATCH] ALSA: firewire-lib: add missing description for kerneldoc Takashi Sakamoto
@ 2014-11-12 13:59 ` Takashi Iwai
  2014-11-12 16:11   ` Takashi Sakamoto
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2014-11-12 13:59 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel, clemens

At Wed, 12 Nov 2014 22:55:27 +0900,
Takashi Sakamoto wrote:
> 
> A description for second paramter for cmp_connection_check_used() is missing.

Well, I see a few more errors:

Warning(cmp.c:124): No description found for parameter 'direction'
Warning(cmp.c:160): No description found for parameter 'used'
Warning(amdtp.h:44): Enum value 'CIP_SKIP_DBC_ZERO_CHECK' not described in enum 'cip_flags'
Warning(amdtp.h:58): Enum value 'CIP_SFC_32000' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_44100' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_48000' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_88200' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_96000' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_176400' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_192000' not described in enum 'cip_sfc'
Warning(amdtp.h:58): Enum value 'CIP_SFC_COUNT' not described in enum 'cip_sfc'

Could you fix these as well?
(amdtp.h enum errors look stupid, though...)


Takashi

> 
> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> ---
>  sound/firewire/cmp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/firewire/cmp.c b/sound/firewire/cmp.c
> index ba8df5a..dcccb01 100644
> --- a/sound/firewire/cmp.c
> +++ b/sound/firewire/cmp.c
> @@ -154,6 +154,7 @@ EXPORT_SYMBOL(cmp_connection_init);
>  /**
>   * cmp_connection_check_used - check connection is already esablished or not
>   * @c: the connection manager to be checked
> + * @used: the pointer to store result to check the connection
>   */
>  int cmp_connection_check_used(struct cmp_connection *c, bool *used)
>  {
> -- 
> 2.1.0
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA: firewire-lib: add missing description for kerneldoc
  2014-11-12 13:59 ` Takashi Iwai
@ 2014-11-12 16:11   ` Takashi Sakamoto
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Sakamoto @ 2014-11-12 16:11 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, clemens

HI,

On Nov 12 2014 22:59, Takashi Iwai wrote:
> Could you fix these as well?
> (amdtp.h enum errors look stupid, though...)

OK.

> Warning(amdtp.h:44): Enum value 'CIP_SKIP_DBC_ZERO_CHECK' not described in enum 'cip_flags'

This is due to my typo.

> Warning(amdtp.h:58): Enum value 'CIP_SFC_32000' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_44100' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_48000' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_88200' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_96000' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_176400' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_192000' not described in enum 'cip_sfc'
> Warning(amdtp.h:58): Enum value 'CIP_SFC_COUNT' not described in enum 'cip_sfc'

A lack of descriptions.
I think it good to refer to IEC 61883-1 in these description.


Regards

Takashi Sakamoto
o-takashi@sakamocchi.jp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-12 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 13:55 [PATCH] ALSA: firewire-lib: add missing description for kerneldoc Takashi Sakamoto
2014-11-12 13:59 ` Takashi Iwai
2014-11-12 16:11   ` Takashi Sakamoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.