diff options
author | 2020-12-04 16:02:47 +0800 | |
---|---|---|
committer | 2020-12-09 19:51:06 +0100 | |
commit | 3d70fb03711c37bc64e8e9aea5830f498835f6bf (patch) | |
tree | a5f7e22b35407766ccdee07d0e3eaa26cf3c9bbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bus: fsl-mc: added missing fields to dprc_rsp_get_obj_region structure (diff) | |
download | wireguard-linux-3d70fb03711c37bc64e8e9aea5830f498835f6bf.tar.xz wireguard-linux-3d70fb03711c37bc64e8e9aea5830f498835f6bf.zip |
bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 197f4d6a4a00 ("staging: fsl-mc: fsl-mc object allocator driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1607068967-31991-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions