1. 27 8月, 2016 1 次提交
  2. 07 8月, 2013 1 次提交
    • S
      printk: Fix return of braille_register_console() · 2cfe6c4a
      Steven Rostedt 提交于
      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 bbeddf52 "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: NSteven Rostedt <rostedt@goodmis.org>
      Acked-by: NJoe Perches <joe@perches.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2cfe6c4a
  3. 01 8月, 2013 1 次提交