From: Benjamin Herrenschmidt Date: Tue, 24 Jul 2012 08:19:13 +0000 (+1000) Subject: fbdev: Make pixel_to_pat() failure mode more friendly X-Git-Tag: v3.6-rc1~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6a5580464bf000649f981970192c6c7fe739de;p=pandora-kernel.git fbdev: Make pixel_to_pat() failure mode more friendly If we accidentally pass an incorrect bpp value to pixel_to_pat(), it panics. This is pretty useless, as we generally have the various console locks held at that point, so nothing will be displayed, and there is no reason to make this a fatal event. Let's WARN instead. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed