summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-10-06 04:02:37 +0200
committerDavid S. Miller <davem@davemloft.net>2022-10-07 09:42:00 +0200
commit30393181fdbc1608cc683b4ee99dcce05ffcc8c7 (patch)
treecd0c798deba2d6f880ba7ce5d1b73ca077d954f6 /drivers/power
parentMAINTAINERS: add Jan as SMC maintainer (diff)
downloadlinux-30393181fdbc1608cc683b4ee99dcce05ffcc8c7.tar.xz
linux-30393181fdbc1608cc683b4ee99dcce05ffcc8c7.zip
net: ieee802154: return -EINVAL for unknown addr type
This patch adds handling to return -EINVAL for an unknown addr type. The current behaviour is to return 0 as successful but the size of an unknown addr type is not defined and should return an error like -EINVAL. Fixes: 94160108a70c ("net/ieee802154: fix uninit value bug in dgram_sendmsg") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions