Message ID | 20201128224114.1033617-17-sam@ravnborg.org (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | drivers/video: W=1 warning fixes | expand |
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.
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)
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(-)