diff options
| author | Alexander Wilhelm <[email protected]> | 2025-05-22 14:35:29 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2025-06-17 20:49:10 +0000 |
| commit | 3ced38da5f7de4c260f9eaa86fc805827953243a (patch) | |
| tree | 36bcaab6322be34a3470f240018f4a904af9f10b /rust/helpers | |
| parent | dt-bindings: soc: qcom: add qcom,qcs615-imem compatible (diff) | |
| download | kernel-3ced38da5f7de4c260f9eaa86fc805827953243a.tar.gz kernel-3ced38da5f7de4c260f9eaa86fc805827953243a.zip | |
soc: qcom: QMI encoding/decoding for big endian
The QMI_DATA_LEN type may have different sizes. Taking the element's
address of that type and interpret it as a smaller sized ones works fine
for little endian platforms but not for big endian ones. Instead use
temporary variables of smaller sized types and cast them correctly to
support big endian platforms.
Signed-off-by: Alexander Wilhelm <[email protected]>
Fixes: 9b8a11e82615 ("soc: qcom: Introduce QMI encoder/decoder")
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
