diff options
| author | Markus Elfring <[email protected]> | 2017-04-26 14:45:25 +0000 |
|---|---|---|
| committer | Eduardo Valentin <[email protected]> | 2017-05-24 03:06:56 +0000 |
| commit | 748c23d88610b5df378d86e7192e4bd1f58adb35 (patch) | |
| tree | 82ecd1b10ab8829acc8e34d948f228a3cc63cf59 /drivers/tty/serial/sccnxp.c | |
| parent | thermal: core: make thermal_emergency_poweroff static (diff) | |
| download | kernel-748c23d88610b5df378d86e7192e4bd1f58adb35.tar.gz kernel-748c23d88610b5df378d86e7192e4bd1f58adb35.zip | |
ti-soc-thermal: Use devm_kcalloc() in ti_bandgap_build()
A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "devm_kcalloc".
This issue was detected by using the Coccinelle software.
Acked-by: Keerthy <[email protected]>
Tested-by: Keerthy <[email protected]>
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
