]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] uengine: fix memset size error
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 21 Nov 2007 22:51:50 +0000 (14:51 -0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Nov 2007 19:43:40 +0000 (19:43 +0000)
commitdc49cb21801db1f89d74b01a0f38f200aebb3e43
tree2fedef6ebfa0c896774be5dadae614d258b7d5ff
parent1c016b2c728b2ecbdd4088bd42e556fd29065cc5
[ARM] uengine: fix memset size error

The size passing to memset is wrong.  And here we can replace kmalloc with
kzalloc.

Signed-off-by Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/uengine.c