Dave Young de40ccefd1 kdump: print a message in case parse_crashkernel_mem resulted in zero bytes
parse_crashkernel_mem() silently returns if we get zero bytes in the
parsing function.  It is useful for debugging to add a message,
especially if the kernel cannot boot correctly.

Add a pr_info instead of pr_warn because it is expected behavior for
size = 0, eg.  crashkernel=2G-4G:128M, size will be 0 in case system
memory is less than 2G.

Link: http://lkml.kernel.org/r/20171114080129.GA6115@dhcp-128-65.nay.redhat.com
Signed-off-by: Dave Young <dyoung@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-17 16:10:03 -08:00
..
2017-11-15 10:56:56 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 18:21:06 -08:00
2017-11-16 11:41:22 -08:00
2017-05-23 10:01:37 +02:00
2017-08-16 16:48:34 -07:00
2017-11-15 13:28:48 -08:00
2017-11-15 13:28:48 -08:00
2017-07-15 20:46:47 -04:00
2017-05-18 10:30:19 -06:00
2017-10-20 11:02:29 +02:00
2017-11-15 13:46:33 -08:00
2017-08-21 12:47:31 -07:00
2017-11-15 18:21:05 -08:00
2017-11-15 10:56:56 -08:00
2017-10-31 17:22:58 -05:00