[PATCH] etnaviv: fix whitespace errors

Christian Gmeiner christian.gmeiner at gmail.com
Fri Aug 2 11:28:38 UTC 2019


Hi Philipp

Am Do., 1. Aug. 2019 um 11:22 Uhr schrieb Philipp Zabel
<p.zabel at pengutronix.de>:
>
> Hi Christian,
>
> On Wed, 2019-07-31 at 23:29 +0200, Christian Gmeiner wrote:
> > Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> > ---
> >  drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
> > index 4227a4006c34..06e6d3ee1c34 100644
> > --- a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
> > +++ b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
> > @@ -15,8 +15,8 @@ struct etnaviv_pm_signal {
> >       u32 data;
> >
> >       u32 (*sample)(struct etnaviv_gpu *gpu,
> > -                   const struct etnaviv_pm_domain *domain,
> > -                   const struct etnaviv_pm_signal *signal);
> > +                               const struct etnaviv_pm_domain *domain,
> > +                               const struct etnaviv_pm_signal *signal);
>
> That silences a checkpatch error, but now the alignment to the
> opening parenthesis is gone.
> How about using two tabs and six spaces instead?
>

Works for me - I think my git config was the problem here.

[core]
        pager = less -x1,5

I removed this now and looks git diff looks better now.

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy


More information about the dri-devel mailing list