diff options
author | Elliot Berman <quic_eberman@quicinc.com> | 2023-02-13 21:18:29 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-03-16 02:52:11 +0300 |
commit | 968a26a07f75377afbd4f7bb18ef587a1443c244 (patch) | |
tree | 3729abdf61062fbb46d58d858722519fc66780a4 /drivers/soc | |
parent | 9e4a7652d7028d40b2dd6636d400ca6266d641ef (diff) | |
download | linux-968a26a07f75377afbd4f7bb18ef587a1443c244.tar.xz |
firmware: qcom_scm: Use fixed width src vm bitmap
The maximum VMID for assign_mem is 63. Use a u64 to represent this
bitmap instead of architecture-dependent "unsigned int" which varies in
size on 32-bit and 64-bit platforms.
Acked-by: Kalle Valo <kvalo@kernel.org> (ath10k)
Tested-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230213181832.3489174-1-quic_eberman@quicinc.com
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/qcom/rmtfs_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/rmtfs_mem.c b/drivers/soc/qcom/rmtfs_mem.c index 2d3ee22b9249..2657c6105bb7 100644 --- a/drivers/soc/qcom/rmtfs_mem.c +++ b/drivers/soc/qcom/rmtfs_mem.c @@ -31,7 +31,7 @@ struct qcom_rmtfs_mem { unsigned int client_id; - unsigned int perms; + u64 perms; }; static ssize_t qcom_rmtfs_mem_show(struct device *dev, |