]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: Replace kzalloc(struct ..) with kzalloc(*ptr)
authorShobhit Kukreti <shobhitkukreti@gmail.com>
Thu, 27 Jun 2019 05:31:18 +0000 (22:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 06:45:04 +0000 (08:45 +0200)
commit196ec7e77e822a25a53b902b8c6e19359963e0f8
tree75e83f0b5d746a006d204e389f9748fe1d9c29b3
parent273c15c31c05e777fd28a0bfa44c0189357eecba
staging: erofs: Replace kzalloc(struct ..) with kzalloc(*ptr)

Resolve checkpatch warning:
Prefer kzalloc(sizeof(*ptr)...) over kzalloc(sizeof(struct ..)

Signed-off-by: Shobhit Kukreti <shobhitkukreti@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/super.c
drivers/staging/erofs/unzip_vle.c