07 Aug, 2013
1 commit
-
Some of my configs I test with have CONFIG_A11Y_BRAILLE_CONSOLE set.
When I started testing against v3.11-rc4 my console went bonkers. Using
ktest to bisect the issue, it came down to:commit bbeddf52a "printk: move braille console support into separate
braille.[ch] files"Looking into the patch I found the problem. It's with the return of
braille_register_console(). As anything other than NULL is considered a
failure.But for those of us that have CONFIG_A11Y_BRAILLE_CONSOLE set but do not
define a "brl" or "brl=" on the command line, we still may want a
console that those with sight can still use.Return NULL (success) if "brl" or "brl=" is not on the console line.
Signed-off-by: Steven Rostedt
Acked-by: Joe Perches
Cc: Andrew Morton
Signed-off-by: Linus Torvalds
01 Aug, 2013
5 commits
-
Rename the struct to enable moving portions of
printk.c to separate files.The rename changes output of /proc/vmcoreinfo.
Signed-off-by: Joe Perches
Cc: Samuel Thibault
Cc: Ming Lei
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Make the code a bit more compact by always using a pointer for the active
console_cmdline.Move overly indented code to correct indent level.
Signed-off-by: Joe Perches
Cc: Samuel Thibault
Cc: Ming Lei
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Create files with prototypes and static inlines for braille support. Make
braille_console functions return 1 on success.Corrected CONFIG_A11Y_BRAILLE_CONSOLE=n _braille_console_setup
return value to NULL.Signed-off-by: Joe Perches
Reviewed-by: Samuel Thibault
Cc: Ming Lei
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add an include file for the console_cmdline struct so that the braille
console driver can be separated.Signed-off-by: Joe Perches
Cc: Samuel Thibault
Cc: Ming Lei
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Make it easier to break up printk into bite-sized chunks.
Remove printk path/filename from comment.
Signed-off-by: Joe Perches
Cc: Samuel Thibault
Cc: Ming Lei
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds