uio: uio_pruss: Fix potential NULL pointer dereference
authorEmil Goode <emilgoode@gmail.com>
Thu, 6 Jun 2013 13:55:28 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:54:09 +0000 (12:54 -0700)
In function pruss_probe we free gdev and try to use
it on the next line. I have moved the dereference to
above the kfree of gdev.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found