From: Vishnu Pratap Singh Date: Thu, 25 Jun 2015 22:03:37 +0000 (-0700) Subject: init/do_mounts.c: add create_dev() failure log X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2;p=pandora-kernel.git init/do_mounts.c: add create_dev() failure log If create_dev() function fails to create the root mount device (/dev/root), then it goes to panic as root device not found but there is no printk in this case. So I have added the log in case it fails to create the root device. It will help in debugging. [akpm@linux-foundation.org: simplify printk(), use pr_emerg(), display errno] Signed-off-by: Vishnu Pratap Singh Acked-by: Pavel Machek Cc: Paul Gortmaker Cc: Mike Snitzer Cc: Dan Ehrenberg Cc: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed