HSI: Remove struct hsi_client private fields from kernel-doc
PATCH 1/1 HSI: Remove struct hsi_client private fields from kernel-doc
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'
---
include/linux/hsi/hsi.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/hsi/hsi.h +0 -3
@@ -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;
Signature · 1 line
2.4.3
Hello Sebastian,
Quoted 23 lines · Javier Martinez Canillas
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_clientprivate 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 <[email protected]>---
include/linux/hsi/hsi.h | 3 --- 1 file changed, 3 deletions(-)include/linux/hsi/hsi.h +0
-0
include/linux/hsi/hsi.h static inline int hsi_register_board_info(struct hsi_board_info const *info, · line 140
Quoted 9 lines
include/linux/hsi/hsi.h +0
-3@@ -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,
Signature · 3 lines
Javier Martinez Canillas Open Source Group Samsung Research America
Sebastian Reichel
maintainerQuoted 29 lines · Javier Martinez Canillas
Hello Sebastian,
Quoted 26 lines · Javier Martinez Canillas
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_clientprivate 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 <[email protected]>---
include/linux/hsi/hsi.h | 3 --- 1 file changed, 3 deletions(-)include/linux/hsi/hsi.h +0
-1@@ -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)
Quoted 8 lines
include/linux/hsi/hsi.h static inline int hsi_register_board_info(struct hsi_board_info const *info, · line 140
Quoted 6 lines
include/linux/hsi/hsi.h +0
-2-* @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
Sebastian Reichel
maintainerHi,
Quoted 11 lines · Javier Martinez Canillas
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_clientprivate 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 <[email protected]>
Thanks, queued:
-- Sebastian