chardev: add missing line break in pr_warn
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 12 Jul 2016 07:05:49 +0000 (15:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jul 2016 07:21:53 +0000 (16:21 +0900)
commit077e2642fbe2274e1b7b9d7c71da6cd3f69f21fd
tree074d7311e2273c0fbcc3e5ceb40d432e75d9df7d
parentb25948afccf4253969a4e08d2a9901580c3ef500
chardev: add missing line break in pr_warn

To fix super long dmesg error lines like

  CHRDEV "dummy_stm.0" major number 224 goes below the dynamic allocation rangeCHRDEV "dummy_stm.1" major number 223 goes below the dynamic allocation rangeswapper: page allocation failure: order:8, mode:0x26040c0(GFP_KERNEL|__GFP_COMP|__GFP_NOTRACK)

After fix, it should look like

  CHRDEV "dummy_stm.0" major number 224 goes below the dynamic allocation range
  CHRDEV "dummy_stm.1" major number 223 goes below the dynamic allocation range
  swapper: page allocation failure: order:8, mode:0x26040c0(GFP_KERNEL|__GFP_COMP|__GFP_NOTRACK)

Reported-by: Philip Li <philip.li@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/char_dev.c