[PATCH] bus: mhi: ep: Use kcalloc() instead of kzalloc()

2024-01-20 Thread Erick Archer
As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them overflowing. This could lead to values wrappin

[PATCH] riscv: Use kcalloc() instead of kzalloc()

2024-01-20 Thread Erick Archer
As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them overflowing. This could lead to values wrappin

[PATCH] MIPS: Alchemy: Use kcalloc() instead of kzalloc()

2024-01-20 Thread Erick Archer
As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them overflowing. This could lead to values wrappin

[PATCH] Documentation: power: Use kcalloc() instead of kzalloc()

2024-01-20 Thread Erick Archer
As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them overflowing. This could lead to values wrappin