Tag: 56116b2b09092565d140c0e72596d67a29dcf89c

staging: unisys: visorutil: Use kzalloc instead of kmalloc with memset

Author: Iulia Manda <iulia.manda21@gmail.com> Fix coccinelle warnings of better allocation by using kzalloc. In these cases, kzalloc is preferred, as kmalloc may fail if it does not find contiguous memory. Signed-off-by: Iulia Manda Acked-by: Luis R. Rodriguez Signed-off-by: Peter P Waskiewicz Jr — drivers/staging/unisys/visorutil/procobjecttree.c | 24 ++++++++————— 1 file changed, 8 insertions(+), 16 deletions(-)   …

Continue reading