Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 617a0c71 authored by anish kumar's avatar anish kumar Committed by Greg Kroah-Hartman
Browse files

Staging: sm7xx: preferred form for passing a size to memory allocation routines



The preferred form for passing a size of a struct is the following:
p = kmalloc(sizeof(*p), ...);
Please refer Documentation/Codingstyle chapter 14

Signed-off-by: default avataranish kumar <anish198519851985@gmail.com>
Acked-by: default avatarHarry Wei <harryxiyou@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1639c8ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment