Re: [PATCH 1/9] staging: dt3155: check put_user() return value

From: Jiri Slaby
Date: Fri Jul 30 2010 - 08:44:55 EST


On 07/30/2010 01:07 PM, Kulikov Vasiliy wrote:
> put_user() may fail, if so return -EFAULT.
> Also compare count with copied data size, not size of struct with these
> fields.

Please do whitespace cleanup separately. We cannot review this.

--
js
--
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/