diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-09-19 16:08:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-03 23:56:54 +0900 |
| commit | 6f3511eb8654b3d64e3235b0083704dad4fcc833 (patch) | |
| tree | d06fda3ac102276fd44b8f9dfc9e014189b3b526 /include/media | |
| parent | 11993652d0b49e27272db0a37aa828d8a3a4b92b (diff) | |
| download | linux-6f3511eb8654b3d64e3235b0083704dad4fcc833.tar.gz linux-6f3511eb8654b3d64e3235b0083704dad4fcc833.tar.bz2 linux-6f3511eb8654b3d64e3235b0083704dad4fcc833.zip | |
net: ieee802154: fix error return code in dgram_bind()
commit 444d8ad4916edec8a9fc684e841287db9b1e999f upstream.
Fix to return error code -EINVAL from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 94160108a70c ("net/ieee802154: fix uninit value bug in dgram_sendmsg")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20220919160830.1436109-1-weiyongjun@huaweicloud.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions
