public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc
@ 2015-10-08  7:11 Javier Martinez Canillas
  2015-11-13 17:08 ` Javier Martinez Canillas
  2015-11-21 17:46 ` Sebastian Reichel
  0 siblings, 2 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-10-08  7:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Javier Martinez Canillas, Sebastian Reichel

The kernel-doc how to says that structure fields that are inside a
"private:" area shouldn't be listed in the generated documentation
but the private fields for struct hsi_client private are listed.

This also fixes the following make htmldocs warnings:

.//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
.//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
.//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 include/linux/hsi/hsi.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/hsi/hsi.h b/include/linux/hsi/hsi.h
index 5dd60c2e120f..2790591c77cf 100644
--- a/include/linux/hsi/hsi.h
+++ b/include/linux/hsi/hsi.h
@@ -135,9 +135,6 @@ static inline int hsi_register_board_info(struct hsi_board_info const *info,
  * @device: Driver model representation of the device
  * @tx_cfg: HSI TX configuration
  * @rx_cfg: HSI RX configuration
- * @e_handler: Callback for handling port events (RX Wake High/Low)
- * @pclaimed: Keeps tracks if the clients claimed its associated HSI port
- * @nb: Notifier block for port events
  */
 struct hsi_client {
 	struct device		device;
-- 
2.4.3


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

* Re: [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc
  2015-10-08  7:11 [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc Javier Martinez Canillas
@ 2015-11-13 17:08 ` Javier Martinez Canillas
  2015-11-13 22:06   ` Sebastian Reichel
  2015-11-21 17:46 ` Sebastian Reichel
  1 sibling, 1 reply; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-11-13 17:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sebastian Reichel

Hello Sebastian,

On 10/08/2015 04:11 AM, Javier Martinez Canillas wrote:
> The kernel-doc how to says that structure fields that are inside a
> "private:" area shouldn't be listed in the generated documentation
> but the private fields for struct hsi_client private are listed.
> 
> This also fixes the following make htmldocs warnings:
> 
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  include/linux/hsi/hsi.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/include/linux/hsi/hsi.h b/include/linux/hsi/hsi.h
> index 5dd60c2e120f..2790591c77cf 100644
> --- a/include/linux/hsi/hsi.h
> +++ b/include/linux/hsi/hsi.h
> @@ -135,9 +135,6 @@ static inline int hsi_register_board_info(struct hsi_board_info const *info,
>   * @device: Driver model representation of the device
>   * @tx_cfg: HSI TX configuration
>   * @rx_cfg: HSI RX configuration
> - * @e_handler: Callback for handling port events (RX Wake High/Low)
> - * @pclaimed: Keeps tracks if the clients claimed its associated HSI port
> - * @nb: Notifier block for port events
>   */
>  struct hsi_client {
>  	struct device		device;
> 

Any comments about this patch?

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* Re: [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc
  2015-11-13 17:08 ` Javier Martinez Canillas
@ 2015-11-13 22:06   ` Sebastian Reichel
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Reichel @ 2015-11-13 22:06 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

On Fri, Nov 13, 2015 at 02:08:22PM -0300, Javier Martinez Canillas wrote:
> Hello Sebastian,
> 
> On 10/08/2015 04:11 AM, Javier Martinez Canillas wrote:
> > The kernel-doc how to says that structure fields that are inside a
> > "private:" area shouldn't be listed in the generated documentation
> > but the private fields for struct hsi_client private are listed.
> > 
> > This also fixes the following make htmldocs warnings:
> > 
> > .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
> > .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
> > .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
> > 
> > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> > 
> > ---
> > 
> >  include/linux/hsi/hsi.h | 3 ---
> >  1 file changed, 3 deletions(-)
> > 
> > diff --git a/include/linux/hsi/hsi.h b/include/linux/hsi/hsi.h
> > index 5dd60c2e120f..2790591c77cf 100644
> > --- a/include/linux/hsi/hsi.h
> > +++ b/include/linux/hsi/hsi.h
> > @@ -135,9 +135,6 @@ static inline int hsi_register_board_info(struct hsi_board_info const *info,
> >   * @device: Driver model representation of the device
> >   * @tx_cfg: HSI TX configuration
> >   * @rx_cfg: HSI RX configuration
> > - * @e_handler: Callback for handling port events (RX Wake High/Low)
> > - * @pclaimed: Keeps tracks if the clients claimed its associated HSI port
> > - * @nb: Notifier block for port events
> >   */
> >  struct hsi_client {
> >  	struct device		device;
> > 
> 
> Any comments about this patch?

The patch looks fine. I will queue it for 4.5 once 4.4-rc1 has been
released.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc
  2015-10-08  7:11 [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc Javier Martinez Canillas
  2015-11-13 17:08 ` Javier Martinez Canillas
@ 2015-11-21 17:46 ` Sebastian Reichel
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Reichel @ 2015-11-21 17:46 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

Hi,

On Thu, Oct 08, 2015 at 09:11:48AM +0200, Javier Martinez Canillas wrote:
> The kernel-doc how to says that structure fields that are inside a
> "private:" area shouldn't be listed in the generated documentation
> but the private fields for struct hsi_client private are listed.
> 
> This also fixes the following make htmldocs warnings:
> 
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
> .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Thanks, queued:

https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=403c5c0650816375527a6feecfb255d9b494dda3

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-11-21 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08  7:11 [PATCH] HSI: Remove struct hsi_client private fields from kernel-doc Javier Martinez Canillas
2015-11-13 17:08 ` Javier Martinez Canillas
2015-11-13 22:06   ` Sebastian Reichel
2015-11-21 17:46 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox