]> git.baikalelectronics.ru Git - kernel.git/commit
video:uvesafb: check the return value of kzalloc
authorWang YanQing <udknight@gmail.com>
Mon, 13 Aug 2012 10:02:32 +0000 (18:02 +0800)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:18:08 +0000 (13:18 +0000)
commit94778d72d9d37ebf4fb531412e05affa57180904
tree6a260ca55c6ea92e7ffbceca176b22cfb1d13f81
parentcf4b0ff979c910c83cb6db449ff528af9d740fa8
video:uvesafb: check the return value of kzalloc

Michal maybe forgot it merely, we should add code
to check the return value of kzalloc to make the
code more robust.

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