video:uvesafb: notice user when we failed to save hardware state
authorWang YanQing <udknight@gmail.com>
Fri, 2 Mar 2012 01:45:31 +0000 (09:45 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 8 Mar 2012 18:13:10 +0000 (18:13 +0000)
commitc2bc0a756b1f98bd712fabe78eb49d7d5ae72075
treebbfbfd8be4ca41308f3ac768f969b46aec93eb3e
parentec0d22e4d563e7cce9f6678e2000900755c2989d
video:uvesafb: notice user when we failed to save hardware state

uvesafb_open may failed to save hardware state when kmalloc failed
in uvesafb_vbe_state_save, we should check this and notice user.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/uvesafb.c