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:
Arun Kumar Neelakantam <aneela@codeaurora.org>
Loading
Please register or sign in to comment