68328serial: check return value of copy_*_user() instead of access_ok()
authorKulikov Vasiliy <segooon@gmail.com>
Sun, 1 Aug 2010 06:29:06 +0000 (10:29 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:17:22 +0000 (18:17 -0700)
As copy_*_user() calls access_ok() it should not be called explicitly.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found