diff mbox series

[v2,16/28] video: fbdev: hgafb: Fix kernel-doc warnings

Message ID 20201128224114.1033617-17-sam@ravnborg.org
State Superseded
Headers show
Series drivers/video: W=1 warning fixes | expand

Commit Message

Sam Ravnborg Nov. 28, 2020, 10:41 p.m. UTC
Fix kernel-doc comments.

v2:
  - Updated subject (Lee)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Ferenc Bakonyi <fero@drama.obuda.kando.hu>
Cc: linux-nvidia@lists.surfsouth.com
Cc: Lee Jones <lee.jones@linaro.org>
---
 drivers/video/fbdev/hgafb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Randy Dunlap Nov. 29, 2020, 4:10 p.m. UTC | #1
Hi Sam-

On 11/28/20 2:41 PM, Sam Ravnborg wrote:
> Fix kernel-doc comments.

> 

> v2:

>   - Updated subject (Lee)

> 

> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

> Cc: Ferenc Bakonyi <fero@drama.obuda.kando.hu>

> Cc: linux-nvidia@lists.surfsouth.com

> Cc: Lee Jones <lee.jones@linaro.org>

> ---

>  drivers/video/fbdev/hgafb.c | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c

> index a45fcff1461f..69af72937844 100644

> --- a/drivers/video/fbdev/hgafb.c

> +++ b/drivers/video/fbdev/hgafb.c

> @@ -358,7 +358,7 @@ static int hga_card_detect(void)

>  /**

>   *	hgafb_open - open the framebuffer device

>   *	@info:pointer to fb_info object containing info for current hga board

> - *	@int:open by console system or userland.

> + *	@init:open by console system or userland.


Please add a space after the ':' in 2 lines above.

>   */

>  

>  static int hgafb_open(struct fb_info *info, int init)

> @@ -372,7 +372,7 @@ static int hgafb_open(struct fb_info *info, int init)

>  /**

>   *	hgafb_open - open the framebuffer device

>   *	@info:pointer to fb_info object containing info for current hga board

> - *	@int:open by console system or userland.

> + *	@init:open by console system or userland.


Same here (2 lines).

>   */

>  

>  static int hgafb_release(struct fb_info *info, int init)

> 


thanks.
-- 
~Randy
diff mbox series

Patch

diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c
index a45fcff1461f..69af72937844 100644
--- a/drivers/video/fbdev/hgafb.c
+++ b/drivers/video/fbdev/hgafb.c
@@ -358,7 +358,7 @@  static int hga_card_detect(void)
 /**
  *	hgafb_open - open the framebuffer device
  *	@info:pointer to fb_info object containing info for current hga board
- *	@int:open by console system or userland.
+ *	@init:open by console system or userland.
  */
 
 static int hgafb_open(struct fb_info *info, int init)
@@ -372,7 +372,7 @@  static int hgafb_open(struct fb_info *info, int init)
 /**
  *	hgafb_open - open the framebuffer device
  *	@info:pointer to fb_info object containing info for current hga board
- *	@int:open by console system or userland.
+ *	@init:open by console system or userland.
  */
 
 static int hgafb_release(struct fb_info *info, int init)