1. 09 3月, 2013 5 次提交
  2. 02 3月, 2013 1 次提交
    • R
      ARM: Fix broken commit 0cc41e4a corrupting kernel messages · ded3ef0f
      Russell King 提交于
      Commit 0cc41e4a (arch: remove direct definitions of KERN_<LEVEL>
      uses) is broken - not enough thought was put into changing:
      
      	.asciz	"string"
      
      to
      
      	.asciz	"string1" "string2"
      
      The problem is that each string gets _separately_ NUL terminated, so
      the result is a string containing:
      
      	"string1\0string2\0"
      
      rather than:
      
      	"string1string2\0"
      
      With our new printk levels, this ends up as - eg, KERN_DEBUG "string":
      
      	0x01 0x00 0x07 0x00 "string" 0x00
      
      which produces lots of \x01 in the kernel log.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ded3ef0f
  3. 01 3月, 2013 34 次提交