diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-11 22:55:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-16 09:13:53 +0200 |
commit | 397fcd12e4890624228e25468a1ab5f6fc78a1e3 (patch) | |
tree | 4d9591ee7002224ff093b5cd17f1d4f9191c5f62 /scripts/gcc-plugins/latent_entropy_plugin.c | |
parent | 15d5193104a457d5151840247e3bce561c42e3e9 (diff) |
staging: vchiq_arm: fix error codes in probe
If vchiq_debugfs_init() fails, then we accidentally return a valid
pointer casted to int on error. This code is simpler if we get rid of
the "ptr_err" variable and just use "err" throughout.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions