diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-09-25 03:37:18 +0200 |
---|---|---|
committer | Andy Gross <agross@codeaurora.org> | 2015-10-14 21:51:21 +0200 |
commit | a208ca98ff63e5c94d03810bc80fee9b02fe9972 (patch) | |
tree | 7b7fe023c0b162a348d16eaf4e4aa22beb9655f7 /drivers/firmware/qcom_scm-32.c | |
parent | soc: qcom: smd: Handle big endian CPUs (diff) | |
download | linux-a208ca98ff63e5c94d03810bc80fee9b02fe9972.tar.xz linux-a208ca98ff63e5c94d03810bc80fee9b02fe9972.zip |
soc: qcom: smd: Reject send of too big packets
Attempting to find room for a packet that's bigger than the fifo will
never succeed and the calling process will be sleeping forever in the
loop, waiting for enough room. So fail early instead.
Reported-by: Courtney Cavin <courtney.cavin@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Reviewed-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'drivers/firmware/qcom_scm-32.c')
0 files changed, 0 insertions, 0 deletions