diff options
| author | Ethan Carter Edwards <[email protected]> | 2025-03-09 01:27:41 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2025-03-10 17:22:47 +0000 |
| commit | ac2efaa8455021ce1e6216457684d60a9e2c77fd (patch) | |
| tree | 243e4495a6b9201d1a1ab9479a6e4c1553385929 /drivers/tty/serial/sccnxp.c | |
| parent | efivarfs: Revert "allow creation of zero length files" (diff) | |
| download | kernel-ac2efaa8455021ce1e6216457684d60a9e2c77fd.tar.gz kernel-ac2efaa8455021ce1e6216457684d60a9e2c77fd.zip | |
efi: efibc: change kmalloc(size * count, ...) to kmalloc_array()
Open coded arithmetic in allocator arguments is discouraged. Helper
functions like kcalloc or, in this case, kmalloc_array are preferred.
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Signed-off-by: Ethan Carter Edwards <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
