]> git.baikalelectronics.ru Git - kernel.git/commit
staging: cxd2099: Change kzalloc parameter
authorTamara Diaconita <diaconitatamara@gmail.com>
Thu, 2 Mar 2017 18:42:52 +0000 (20:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 17:15:08 +0000 (18:15 +0100)
commit2addcfcafc9bf6c377da1d0708080ea028b2dde7
tree0988264752eb53257dee58b530aa162aea83b133
parent07a394d9609b02d2440ba6c8bd166dc413ed60dc
staging: cxd2099: Change kzalloc parameter

Changed the structure tag 'struct cxd' with the variable '*ci' to fix the
following checkpath.pl issue: CHECK: Prefer kzalloc(sizeof(*ci)...) over
kzalloc(sizeof(struct cxd)).

Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/cxd2099/cxd2099.c