diff options
| author | Siddharth Karanam <sid9.karanam@gmail.com> | 2026-09-18 17:38:39 +0530 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-09-28 11:54:57 -0500 |
| commit | 6ace5611ac85887a593b7eae2b7edec8dfeb2ffa (patch) | |
| tree | 0540027179b6849ce426616a0a700ad53dc2b52f /include/linux/soc | |
| parent | e0d291986738791444dd0426c85f5e7d747fa44f (diff) | |
firmware: ti_sci: replace kcalloc with kzalloc for buffer pointer allocation
Previously, the buffer pointer was being allocated via devm_kcalloc that
would check for a mul overflow before allocating n * size bytes
(size being desc->max_msg_size), but since n is 1 here, we can instead
use devm_kzalloc that allocates the size directly.
Signed-off-by: Siddharth Karanam <sid9.karanam@gmail.com>
Link: https://patch.msgid.link/20260918120839.207459-1-sid9.karanam@gmail.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include/linux/soc')
0 files changed, 0 insertions, 0 deletions
