staging: tidspbridge: check return code of get_user
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 5 Sep 2010 18:32:45 +0000 (22:32 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 23:59:50 +0000 (16:59 -0700)
commitb04462a143afde542ad9e5a1df4fcfbff6d30249
treeb87a0f262e9f6c0f5a2e015cfea16d8f4b19dd76
parent2fac6c290f9e7ac98256e9deaa668f6c2c305cf2
staging: tidspbridge: check return code of get_user

Function get_user may fail. Check for it.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/pmgr/dspapi.c