Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ieee802154: fix error return code in ieee802154_add_iface()
[ Upstream commit 79c6b8e ] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: be51da0 ("ieee802154: Stop using NLA_PUT*().") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20210508062517.2574-1-thunder.leizhen@huawei.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information