diff options
| author | Lukasz Luba <[email protected]> | 2025-02-24 17:33:04 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-02-26 19:55:42 +0000 |
| commit | 83c34f5099bf38917b8518404f4ff32d5878fa8d (patch) | |
| tree | bedf50c7b3d5909251aad8f2d42e8a0f14e2e085 /drivers/net/ethernet/intel/igc | |
| parent | thermal/of: Use kcalloc() instead of kzalloc() with multiplication (diff) | |
| download | kernel-83c34f5099bf38917b8518404f4ff32d5878fa8d.tar.gz kernel-83c34f5099bf38917b8518404f4ff32d5878fa8d.zip | |
thermal: k3_j72xx_bandgap: Use kcalloc() instead of kzalloc()
According to the latest recommendations, kcalloc() should be used
instead of kzalloc() with multiplication (which might overflow).
Switch to this new scheme and use more safe kcalloc().
No functional impact.
Signed-off-by: Lukasz Luba <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
