Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 92ddcb89 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam
Browse files

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.

Change-Id: I77e2176df7ae6e91a52f470a4e9a83711ea784d5
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 1cef27dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment