Re: [PATCH] staging: cedrus: Fix checkpatch issues

2018-09-13 Thread Hans Verkuil
On 09/13/18 15:54, Mauro Carvalho Chehab wrote: >> switch (ctx->src_fmt.pixelformat) { >> case V4L2_PIX_FMT_MPEG2_SLICE: >> -run.mpeg2.slice_params = cedrus_find_control_data(ctx, >> -V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS); >> -run.mpeg2.quanti

Re: [PATCH] staging: cedrus: Fix checkpatch issues

2018-09-13 Thread Mauro Carvalho Chehab
Em Thu, 13 Sep 2018 11:30:23 +0200 Maxime Ripard escreveu: > Checkpatch, when used with --strict, reports a number of issues on the > cedrus driver. > > Fix those warnings, except for a few, minor, lines too long warnings. > > Signed-off-by: Maxime Ripard > --- > drivers/staging/media/sunxi/c

[PATCH] staging: cedrus: Fix checkpatch issues

2018-09-13 Thread Maxime Ripard
Checkpatch, when used with --strict, reports a number of issues on the cedrus driver. Fix those warnings, except for a few, minor, lines too long warnings. Signed-off-by: Maxime Ripard --- drivers/staging/media/sunxi/cedrus/cedrus.c | 10 +- drivers/staging/media/sunxi/cedrus/cedrus.h