forked from TencentOS/TencentOS-kernel
[ 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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| dpbp.c | ||
| dpcon.c | ||
| dpmcp.c | ||
| dprc-driver.c | ||
| dprc.c | ||
| fsl-mc-allocator.c | ||
| fsl-mc-bus.c | ||
| fsl-mc-msi.c | ||
| fsl-mc-private.h | ||
| mc-io.c | ||
| mc-sys.c | ||