kernel_optimize_test/drivers/bus/fsl-mc
Zhang Changzhong 67475eb264 bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
[ Upstream commit 3d70fb03711c37bc64e8e9aea5830f498835f6bf ]

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 197f4d6a4a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:46 +01:00
..
dpbp.c
dpcon.c
dpmcp.c
dprc-driver.c bus/fsl-mc: Export IRQ pool handling functions to be used by VFIO 2020-10-02 16:05:02 +02:00
dprc.c bus/fsl-mc: Add a new version for dprc_get_obj_region command 2020-10-02 16:05:02 +02:00
fsl-mc-allocator.c bus: fsl-mc: fix error return code in fsl_mc_object_allocate() 2020-12-30 11:53:46 +01:00
fsl-mc-bus.c bus: fsl-mc: add back accidentally dropped error check 2020-12-30 11:53:45 +01:00
fsl-mc-msi.c
fsl-mc-private.h bus/fsl-mc: Add a new version for dprc_get_obj_region command 2020-10-02 16:05:02 +02:00
Kconfig
Makefile
mc-io.c bus/fsl_mc: Do not rely on caller to provide non NULL mc_io 2020-10-02 16:05:01 +02:00
mc-sys.c