summaryrefslogtreecommitdiffstats
path: root/fs/logfs/dir.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-03-23 00:38:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-22 22:27:36 -0400
commitccbc2a9e7878ff09bcaed4893c2a2d3adbb797e2 (patch)
tree1a4bbbcdac4d2648234d23a7d33bd50b03c37a98 /fs/logfs/dir.c
parentf54e994c2900ac5f0d4e12faf430d96e29f389c2 (diff)
downloadblackbird-obmc-linux-ccbc2a9e7878ff09bcaed4893c2a2d3adbb797e2.tar.gz
blackbird-obmc-linux-ccbc2a9e7878ff09bcaed4893c2a2d3adbb797e2.zip
staging: android: ion_test: fix check of platform_device_register_simple() error code
On error platform_device_register_simple() returns ERR_PTR() value, check for NULL always fails. The change corrects the check itself and propagates the returned error upwards. Fixes: 81fb0b901397 ("staging: android: ion_test: unregister the platform device") Cc: stable <stable@vger.kernel.org> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/logfs/dir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud