Re: [PATCH] hid: hid-roccat-koneplus: potential NULL dereference

From: Jiri Kosina
Date: Mon Jan 17 2011 - 07:21:39 EST


On Mon, 17 Jan 2011, Vasiliy Kulikov wrote:

> kmalloc() may fail, if so return -ENOMEM.
> Also koneplus_init_koneplus_device_struct() should check return code
> of koneplus_get_startup_profile() and propagate its return code.
>
> Signed-off-by: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>

Applied, thanks Vasiliy.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/