summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/mb86a16_priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-01-16 12:45:36 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 02:23:24 -0500
commitf14d4988c28e5243e43ba792ee34994951240b0f (patch)
tree3e621c2b3cb8b9eae8ae5da96b0056a781a60ae9 /drivers/media/dvb-frontends/mb86a16_priv.h
parent2c6b222cee2d68e30f059b8ca9194532416bb3f4 (diff)
media: uvcvideo: Use parentheses around sizeof operand
While the sizeof is an operator and not a function, the preferred coding style in the kernel is to enclose its operand in parentheses. To avoid mixing multiple coding styles in the driver, use parentheses around all sizeof operands. While at it replace a kmalloc() with a kmalloc_array() to silence a checkpatch warning triggered by this patch. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/mb86a16_priv.h')
0 files changed, 0 insertions, 0 deletions