[PATCH] staging: erofs: Replace kzalloc(struct ..) with kzalloc(*ptr)

Gao Xiang gaoxiang25 at huawei.com
Thu Jun 27 06:15:39 UTC 2019

On 2019/6/27 13:31, Shobhit Kukreti wrote:
> Resolve checkpatch warning:
> Prefer kzalloc(sizeof(*ptr)...) over kzalloc(sizeof(struct ..)
> Signed-off-by: Shobhit Kukreti <shobhitkukreti at gmail.com>

seems a new rule...

Reviewed-by: Gao Xiang <gaoxiang25 at huawei.com>

Gao Xiang

More information about the devel mailing list