summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authormorten petersen <morten_bp@live.dk>2019-07-08 11:41:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-04 09:34:58 +0200
commitdec595841eb44db4d025e54b14ad045c21b60fc8 (patch)
tree3ebe1c1e47889d669dc3b1c41e85bfa158c1a010 /include/linux
parent77bd558b2a02356a43b6e38de5168c6bb2afe9e8 (diff)
mailbox: handle failed named mailbox channel request
[ Upstream commit 25777e5784a7b417967460d4fcf9660d05a0c320 ] Previously, if mbox_request_channel_byname was used with a name which did not exist in the "mbox-names" property of a mailbox client, the mailbox corresponding to the last entry in the "mbox-names" list would be incorrectly selected. With this patch, -EINVAL is returned if the named mailbox is not found. Signed-off-by: Morten Borup Petersen <morten_bp@live.dk> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions