diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-07-24 18:19:13 +1000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-07-29 12:25:06 +0000 |
commit | 3f6a5580464bf000649f981970192c6c7fe739de (patch) | |
tree | cf417f11e52aadf99a5a17afa4892f8cdda2a78d /COPYING | |
parent | f7c848b6ef31af09925bb6f4c79e236ca9f94ed9 (diff) | |
download | linux-stable-3f6a5580464bf000649f981970192c6c7fe739de.tar.gz linux-stable-3f6a5580464bf000649f981970192c6c7fe739de.tar.bz2 linux-stable-3f6a5580464bf000649f981970192c6c7fe739de.zip |
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 <benh@kernel.crashing.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions