|
@@ -221,7 +221,7 @@ static int udl_fb_open(struct fb_info *info, int user)
|
|
|
|
|
|
struct fb_deferred_io *fbdefio;
|
|
struct fb_deferred_io *fbdefio;
|
|
|
|
|
|
- fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
|
|
|
|
|
|
+ fbdefio = kzalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
|
|
|
|
|
|
if (fbdefio) {
|
|
if (fbdefio) {
|
|
fbdefio->delay = DL_DEFIO_WRITE_DELAY;
|
|
fbdefio->delay = DL_DEFIO_WRITE_DELAY;
|