Staging: otus: Add null check and fix coding style issue
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 26 Apr 2010 22:34:49 +0000 (00:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:43 +0000 (11:35 -0700)
commitf4d52b072d35ad2cc3720af65853e6fcc9d8414f
tree2bd2a3f89b313beeca71f472efd5929fa71cd195
parentb4001982bcd79e9685bc09f68a05526f8c5887c7
Staging: otus: Add null check and fix coding style issue

This patch removes mixing of declarations and code and adds a null-test
after a kmalloc.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/otus/ioctl.c