diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-04-04 10:11:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 21:48:37 +0200 |
commit | 25ebcb7dc84db59514b7409ad009d8d67833e091 (patch) | |
tree | d05f2b913cc791ca745d77603d6685d8b9a8abc0 /crypto/chacha_generic.c | |
parent | kernfs: fix barrier usage in __kernfs_new_node() (diff) | |
download | linux-25ebcb7dc84db59514b7409ad009d8d67833e091.tar.xz linux-25ebcb7dc84db59514b7409ad009d8d67833e091.zip |
driver core: platform: Propagate error from insert_resource()
Since insert_resource() might return an error we don't need
to shadow its error code and would safely propagate to the user.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/chacha_generic.c')
0 files changed, 0 insertions, 0 deletions