printk: fix kernel-doc name for nbcon_write_context_is_braille
PATCH 1/1 printk: fix kernel-doc name for nbcon_write_context_is_braille
--- kernel/printk/nbcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/printk/nbcon.c +1 -1
@@ -2005,7 +2005,7 @@ void nbcon_kdb_release(struct nbcon_write_context *wctxt) }/** -* nbcon_is_braille - Checks whether the nbcon write context is using Braille console +* nbcon_write_context_is_braille - Checks whether the nbcon write context is using Braille console * * @wctxt: checked nbcon write context *
Signature · 1 line
2.55.0
John Ogness
maintainerQuoted 1 line · Muhammad Mahdi Amirpour
Do we allow empty commit messages? The patch title says it all, so I guess it is ok.
Now that Linus has pulled the Braille fix, please add:
Quoted 1 line
Signed-off-by Muhammad Mahdi Amirpour <[email protected]>
...
kernel/printk/nbcon.c void nbcon_kdb_release(struct nbcon_write_context *wctxt) · line 2008
Quoted 10 lines
kernel/printk/nbcon.c +1
-1@@ -2005,7 +2005,7 @@ void nbcon_kdb_release(struct nbcon_write_context *wctxt) }/** -* nbcon_is_braille - Checks whether the nbcon write context is using Braille console +* nbcon_write_context_is_braille - Checks whether the nbcon write context is using Braille console
Please wrap the comment to 80 columns. You can see nbcon_device_try_acquire() for an example of a wrapping short kerneldoc description.
John Ogness
PATCH v2 1/1 printk: fix kernel-doc name for nbcon_write_context_is_braille
In reply to Muhammad Mahdi AmirpourUse the function name in the kerneldoc description.
--- kernel/printk/nbcon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/printk/nbcon.c +2 -1
@@ -2005,7 +2005,8 @@ void nbcon_kdb_release(struct nbcon_write_context *wctxt) }/** -* nbcon_is_braille - Checks whether the nbcon write context is using Braille console +* nbcon_write_context_is_braille - Checks whether the nbcon write context +* is using Braille console * * @wctxt: checked nbcon write context *
Signature · 1 line
2.55.0
Quoted 13 lines · Muhammad Mahdi Amirpour
Use the function name in the kerneldoc description.
Fixes c83e3d291243 ("braille: nbcon: Allow to use a serial console with NBCON API as Braille console")Signed-off-by Muhammad Mahdi Amirpour <[email protected]>--- kernel/printk/nbcon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)kernel/printk/nbcon.c +0
-0
kernel/printk/nbcon.c void nbcon_kdb_release(struct nbcon_write_context *wctxt) · line 2009
Quoted 6 lines
kernel/printk/nbcon.c +2
-1@@ -2005,7 +2005,8 @@ void nbcon_kdb_release(struct nbcon_write_context *wctxt) }/** -* nbcon_is_braille - Checks whether the nbcon write context is using Braille console +* nbcon_write_context_is_braille - Checks whether the nbcon write context +* is using Braille console
Generally we use tabs instead of spaces, but perhaps Petr can fix it up on commit or maybe he does not care. Either way:
Petr Mladek
maintainerQuoted 4 lines · Muhammad Mahdi Amirpour
Use the function name in the kerneldoc description.
Fixes c83e3d291243 ("braille: nbcon: Allow to use a serial console with NBCON API as Braille console")Signed-off-by Muhammad Mahdi Amirpour <[email protected]>
Thanks for the fix.
JFYI, the patch has been committed into printk/linux.git, branch for-7.3-hotfix.
Note that for-7.3-hotfix is the branch where the original code was committed. Obviously, this fix is not a hotfix on its own ;-)
It might actually still end up in 7.3 because there is another urgent fix in this branch. Alternatively, it will end up in 7.4-rc1 if there are some problems with the other fix.
Best Regards,
Petr