summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip/ddr2_regs.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2024-08-09 11:54:30 +0200
committerTom Rini <trini@konsulko.com>2024-08-15 16:14:36 -0600
commit107ed84602bb5b77c333e3a4f373db5e62b50c61 (patch)
treebd95030b932c1bdf64fcf3bf951b8f996451ff99 /drivers/ddr/microchip/ddr2_regs.h
parenta29805d822c4bffe47b464e1f62fca11c6c2b481 (diff)
ext4: Fix zalloc()
Currently, zalloc() calls uncondtionally memset(), if the allocation failes, memset() will write to a null pointer. Fix by using kzalloc(). Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions