Message ID | 20201206190247.1861316-2-sam@ravnborg.org (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | drivers/video: W=1 warning fixes | expand |
On 12/6/20 11:02 AM, Sam Ravnborg wrote: > Fix kernel-doc comments. > > v2: > - Updated subject (Lee) > > v3: > - Add space after ':' (Randy) > - Fix name of function in comment > > 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 | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c > index a45fcff1461f..8bbac7182ad3 100644 > --- a/drivers/video/fbdev/hgafb.c > +++ b/drivers/video/fbdev/hgafb.c > @@ -357,8 +357,8 @@ 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. > + * @info: pointer to fb_info object containing info for current hga board > + * @init: open by console system or userland. > */ > > static int hgafb_open(struct fb_info *info, int init) > @@ -370,9 +370,9 @@ 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. > + * hgafb_release - open the framebuffer device > + * @info: pointer to fb_info object containing info for current hga board > + * @init: open by console system or userland. > */ > > static int hgafb_release(struct fb_info *info, int init) > LGTM. Thanks. Acked-by: Randy Dunlap <rdunlap@infradead.org>
diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c index a45fcff1461f..8bbac7182ad3 100644 --- a/drivers/video/fbdev/hgafb.c +++ b/drivers/video/fbdev/hgafb.c @@ -357,8 +357,8 @@ 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. + * @info: pointer to fb_info object containing info for current hga board + * @init: open by console system or userland. */ static int hgafb_open(struct fb_info *info, int init) @@ -370,9 +370,9 @@ 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. + * hgafb_release - open the framebuffer device + * @info: pointer to fb_info object containing info for current hga board + * @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) v3: - Add space after ':' (Randy) - Fix name of function in comment 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)