diff options
| author | Lukasz Luba <[email protected]> | 2025-02-24 17:33:05 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-02-26 19:55:42 +0000 |
| commit | e6c0525fc6afb2e88c02b13a58a036d95492e6f6 (patch) | |
| tree | 90c4cf9057bff24352785f7852b0c590b8b059ad /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | thermal: k3_j72xx_bandgap: Use kcalloc() instead of kzalloc() (diff) | |
| download | kernel-e6c0525fc6afb2e88c02b13a58a036d95492e6f6.tar.gz kernel-e6c0525fc6afb2e88c02b13a58a036d95492e6f6.zip | |
thermal: int340x: Use kcalloc() instead of kzalloc() with multiplication
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/igc_main.c')
0 files changed, 0 insertions, 0 deletions
