linux/fs/pstore
Christophe JAILLET c8d25d696f pstore/zone: Don't clear memory twice
There is no need to call memset(..., 0, ...) on memory allocated by
kcalloc(). It is already zeroed.

Remove the redundant call.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/fa2597400051c18c6ca11187b0e4b906729991b2.1709972649.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Kees Cook <keescook@chromium.org>
2024-03-09 12:33:22 -08:00
..
blk.c init: improve the name_to_dev_t interface 2023-06-05 10:56:46 -06:00
ftrace.c
inode.c pstore: inode: Only d_invalidate() is needed 2024-02-22 10:37:21 -08:00
internal.h
Kconfig pstore: Replace crypto API compression with zlib_deflate library calls 2023-07-17 16:08:58 -07:00
Makefile
platform.c pstore/platform: Add check for kstrdup 2023-10-12 09:47:01 -07:00
pmsg.c pstore update for v6.4-rc1 2023-04-27 17:03:40 -07:00
ram_core.c pstore: ram_core: fix possible overflow in persistent_ram_init_ecc() 2023-12-08 14:15:00 -08:00
ram_internal.h pstore/ram: Set freed addresses to NULL 2022-10-19 09:25:39 -07:00
ram.c pstore/ram: Register to module device table 2024-02-22 10:37:21 -08:00
zone.c pstore/zone: Don't clear memory twice 2024-03-09 12:33:22 -08:00