Fix to return a negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
---
net/qrtr/ns.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
On Wed, May 19, 2021 at 02:16:21PM +0000, Wei Yongjun wrote:
Fix to return a negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
On Wed, May 19, 2021 at 02:16:21PM +0000, Wei Yongjun wrote:
Fix to return a negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
You might want to add Fixes tag:
Fixes: c6e08d6251f3 ("net: qrtr: Allocate workqueue before kernel_bind")
Thanks,
Mani
On Wed, May 19, 2021 at 02:16:21PM +0000, Wei Yongjun wrote:
quoted
Fix to return a negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
You might want to add Fixes tag:
Fixes: c6e08d6251f3 ("net: qrtr: Allocate workqueue before kernel_bind")
Thanks, I will add fixes tag and send v2.
Regards,
Wei Yongjun