Staging: media: davinci_vpfe: Fix preferred form of passing a size
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 25 Mar 2019 16:53:37 +0000 (11:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2019 20:44:53 +0000 (05:44 +0900)
commita3703713e18a74103c2a0c2206ebc759fe068ca6
treece57c8a1f1ff3c1c17408d11d9668271d5832098
parentac394266dc7fd7c8b14b68888ca1349cc4e42768
Staging: media: davinci_vpfe: Fix preferred form of passing a size

Fix preferred form of passing a size of a struct to improve readability
and eradicate an opportunity for a bug when the pointer variable type is
changed but the corresponding sizeof that is passed to a memory
allocator is not.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/davinci_vpfe/dm365_ipipe.c