diff options
author | Arun Kumar Neelakantam <aneela@codeaurora.org> | 2018-10-03 07:40:02 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-11-14 19:02:07 +0100 |
commit | c4fe17e0e3a346cc855b7b41c00ff7b04c56d32b (patch) | |
tree | 0f0eea974b98395a412c3ab1a682e2127970e4c9 /sound/Kconfig | |
parent | soc: qcom: llcc-slice: Add error checks for API functions (diff) | |
download | linux-c4fe17e0e3a346cc855b7b41c00ff7b04c56d32b.tar.xz linux-c4fe17e0e3a346cc855b7b41c00ff7b04c56d32b.zip |
soc: qcom: qmi_interface: Limit txn ids to U16_MAX
Txn IDs created up to INT_MAX cause overflow while storing
the IDs in u16 type supported by QMI header.
Limit the txn IDs max value to U16_MAX to avoid overflow.
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'sound/Kconfig')
0 files changed, 0 insertions, 0 deletions