staging: lustre: use ERR_CAST() function
authorLaurent Navet <laurent.navet@gmail.com>
Fri, 5 Jul 2013 12:26:33 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 20:47:01 +0000 (13:47 -0700)
use ERR_CAST() function instead of ERR_PTR() and PTR_ERR()
found using coccinelle and err_cast.cocci

Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found