lkml.org 
[lkml]   [2019]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/1] staging: media: fix style problem
From
Date
Hi Aliasgar,

Please state the driver in question in the Subject. So:

[PATCHv2] staging/media/davinci_vpfe: fix style problems

That way it is clear to reviewers which driver is modified.

Also there is no need for '1/1' if there is only one patch.

Regards,

Hans

On 6/21/19 6:34 AM, Aliasgar Surti wrote:
> From: Aliasgar Surti <aliasgar.surti500@gmail.com>
>
> checkpatch reported "WARNING: line over 80 characters".
> This patch fixes the warning for file davinci_vpfe/dm365_isif.c
>
> Signed-off-by: Aliasgar Surti <aliasgar.surti500@gmail.com>
> ---
> Changes in v2:
> - Fixed styling as per suggestion in comments
>
> drivers/staging/media/davinci_vpfe/dm365_isif.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.c b/drivers/staging/media/davinci_vpfe/dm365_isif.c
> index 46fd818..e9c8de1 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_isif.c
> +++ b/drivers/staging/media/davinci_vpfe/dm365_isif.c
> @@ -532,7 +532,8 @@ static int isif_validate_dfc_params(const struct vpfe_isif_dfc *dfc)
> #define DM365_ISIF_MAX_CLVSV 0x1fff
> #define DM365_ISIF_MAX_HEIGHT_BLACK_REGION 0x1fff
>
> -static int isif_validate_bclamp_params(const struct vpfe_isif_black_clamp *bclamp)
> +static int
> +isif_validate_bclamp_params(const struct vpfe_isif_black_clamp *bclamp)
> {
> int err = -EINVAL;
>
> @@ -593,7 +594,8 @@ isif_validate_raw_params(const struct vpfe_isif_raw_config *params)
> return isif_validate_bclamp_params(&params->bclamp);
> }
>
> -static int isif_set_params(struct v4l2_subdev *sd, const struct vpfe_isif_raw_config *params)
> +static int isif_set_params(struct v4l2_subdev *sd,
> + const struct vpfe_isif_raw_config *params)
> {
> struct vpfe_isif_device *isif = v4l2_get_subdevdata(sd);
> int ret = -EINVAL;
>

\
 
 \ /
  Last update: 2019-06-25 09:16    [W:0.036 / U:0.860 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site