diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-07 23:37:16 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 21:55:27 +0300 |
commit | 7a6e6c3be88dcc18f592c76f11cf8e7e090dc9dd (patch) | |
tree | 32921ce6a68cc0923fb47cea8bdeacee70a61443 /kernel/rcu/tiny_plugin.h | |
parent | 5f4d34693cfb217354e079789864ed8801b0d39d (diff) | |
download | linux-7a6e6c3be88dcc18f592c76f11cf8e7e090dc9dd.tar.xz |
media: davinci: do a couple of checkpatch cleanups
- Delete an error message for a failed memory allocation
in init_vpbe_layer();
- Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding
size determination a bit safer according to the Linux coding style
convention;
- media: DaVinci-VPBE-Display: Improve a size determination in two
functions
- Adjust 12 checks for null pointers
Those issues were pointed by checkpatch.pl and Coccinelle.
[mchehab@s-opensource.com: fold three cleanup patches into one]
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'kernel/rcu/tiny_plugin.h')
0 files changed, 0 insertions, 0 deletions