linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Christophe LEROY <christophe.leroy@c-s.fr>,
	elfring@users.sourceforge.net,
	kernel list <linux-kernel@vger.kernel.org>,
	vgupta@synopsys.com, linux@armlinux.org.uk, oleg@redhat.com,
	catalin.marinas@arm.com, will.deacon@arm.com, paulus@ozlabs.org,
	benh@kernel.crashing.org, mpe@ellerman.id.au,
	ard.biesheuvel@linaro.org, tglx@linutronix.de, mingo@redhat.com,
	hpa@zytor.com, x86@kernel.org, scott.bauer@intel.com,
	jonathan.derrick@intel.com, axboe@kernel.dk,
	daniel.lezcano@linaro.org, maxime.ripard@free-electrons.com,
	wens@csie.org, alexander.deucher@amd.com,
	christian.koenig@amd.com, David1.Zhou@amd.com, airlied@linux.ie,
	robdclark@gmail.com, joro@8bytes.org, shli@kernel.org,
	shawnguo@kernel.org, kernel@pengutronix.de,
	fabio.estevam@nxp.com, akpm@linux-foundation.org,
	Alexey.Brodkin@synopsys.com, mhocko@suse.com, vbabka@suse.cz,
	Vladislav.Zakharov@synopsys.com, noamca@mellanox.com,
	yamada.masahiro@socionext.com, sboyd@codeaurora.org,
	viresh.kumar@linaro.org, linus.walleij@linaro.org,
	heiko@sntech.de, aik@ozlabs.ru, ruscur@russell.cc,
	david@gibson.dropbear.id.au, fbarrat@linux.vnet.ibm.com,
	alistair@popple.id.au, robh@kernel.org, joe@perches.com,
	harry.wentland@amd.com, tony.cheng@amd.com, Wenjing.Liu@amd.com,
	airlied@redhat.com, Ding.Wang@amd.com, sylvia.tsai@amd.com,
	hersenxs.wu@amd.com, Rex.Zhu@amd.com, JinHuiEric.Huang@amd.com,
	dan.carpenter@oracle.com, architt@codeaurora.org,
	narmstrong@baylibre.com, ville.syrjala@linux.intel.com,
	jcrouse@codeaurora.org, aishpant@gmail.com, noralf@tronnes.org,
	andresx7@gmail.com, Monk.Liu@amd.com, nicolai.haehnle@amd.com,
	Andrey.Grodzovsky@amd.com, linux-snps-arc@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, kvm-ppc@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-efi@vger.kernel.org,
	linux-block@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
	freedreno@lists.freedesktop.org,
	iommu@lists.linux-foundation.org, linux-raid@vger.kernel.org
Subject: Re: [PATCH] fix double ;;s in code
Date: Mon, 19 Feb 2018 20:33:12 +0100	[thread overview]
Message-ID: <20180219193312.GA3709@amd> (raw)
In-Reply-To: <20180219154135.GV22199@phenom.ffwll.local>

[-- Attachment #1: Type: text/plain, Size: 3726 bytes --]

On Mon 2018-02-19 16:41:35, Daniel Vetter wrote:
> On Sun, Feb 18, 2018 at 11:00:56AM +0100, Christophe LEROY wrote:
> > 
> > 
> > Le 17/02/2018 à 22:19, Pavel Machek a écrit :
> > > 
> > > Fix double ;;'s in code.
> > > 
> > > Signed-off-by: Pavel Machek <pavel@ucw.cz>
> > 
> > A summary of the files modified on top of the patch would help understand
> > the impact.
> > 
> > A maybe there should be one patch by area, eg one for each arch specific
> > modif and one for drivers/ and one for block/ ?
> 
> Yeah, pls split this into one patch per area, with a suitable patch
> subject prefix. Look at git log of each file to get a feeling for what's
> the standard in each area.

Yeah I can spend hour spliting it, and then people will ignore it
anyway.

If you care about one of the files being modified, please fix the
bug, ";;" is a clear bug.

If you don't care ... well I don't care either.

drivers/gpu/ has four entries, i guess that's something for you.

								Pavel

> > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> > > index 61e8c3e..33d91e4 100644
> > > --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> > > +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> > > @@ -718,7 +718,7 @@ static enum link_training_result perform_channel_equalization_sequence(
> > >   	uint32_t retries_ch_eq;
> > >   	enum dc_lane_count lane_count = lt_settings->link_settings.lane_count;
> > >   	union lane_align_status_updated dpcd_lane_status_updated = {{0}};
> > > -	union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}};;
> > > +	union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}};
> > >   	hw_tr_pattern = get_supported_tp(link);
> > > diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
> > > index 4c3223a..adb6e7b 100644
> > > --- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
> > > +++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
> > > @@ -162,7 +162,7 @@ static int pp_hw_init(void *handle)
> > >   		if(hwmgr->smumgr_funcs->start_smu(pp_handle->hwmgr)) {
> > >   			pr_err("smc start failed\n");
> > >   			hwmgr->smumgr_funcs->smu_fini(pp_handle->hwmgr);
> > > -			return -EINVAL;;
> > > +			return -EINVAL;
> > >   		}
> > >   		if (ret == PP_DPM_DISABLED)
> > >   			goto exit;
> > > diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
> > > index 3e9bba4..6d8e3a9 100644
> > > --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
> > > +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
> > > @@ -680,7 +680,7 @@ struct msm_kms *mdp5_kms_init(struct drm_device *dev)
> > >   	} else {
> > >   		dev_info(&pdev->dev,
> > >   			 "no iommu, fallback to phys contig buffers for scanout\n");
> > > -		aspace = NULL;;
> > > +		aspace = NULL;
> > >   	}
> > >   	pm_runtime_put_sync(&pdev->dev);
> > > diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> > > index 2c18996..0d95888 100644
> > > --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c
> > > +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> > > @@ -461,7 +461,7 @@ void drm_sched_hw_job_reset(struct drm_gpu_scheduler *sched, struct drm_sched_jo
> > >   {
> > >   	struct drm_sched_job *s_job;
> > >   	struct drm_sched_entity *entity, *tmp;
> > > -	int i;;
> > > +	int i;
> > >   	spin_lock(&sched->job_list_lock);
> > >   	list_for_each_entry_reverse(s_job, &sched->ring_mirror_list, node) {

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2018-02-19 19:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-17 21:19 [PATCH] fix double ;;s in code Pavel Machek
2018-02-18 10:00 ` Christophe LEROY
2018-02-19 15:41   ` Daniel Vetter
2018-02-19 19:33     ` Pavel Machek [this message]
2018-02-20  1:25       ` Rob Clark
2018-02-20  8:03       ` Jani Nikula
2018-02-20 16:34         ` Alex Deucher
2018-02-20 23:47         ` Andrew Morton
2018-02-20  6:19     ` Michael Ellerman
2018-02-20 16:41       ` Joe Perches
2018-02-20  5:33 ` Vineet Gupta
2018-02-22  9:09 ` Shawn Guo
2018-02-24  8:52   ` Pavel Machek
2018-02-24  8:56     ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180219193312.GA3709@amd \
    --to=pavel@ucw.cz \
    --cc=Alexey.Brodkin@synopsys.com \
    --cc=Andrey.Grodzovsky@amd.com \
    --cc=David1.Zhou@amd.com \
    --cc=Ding.Wang@amd.com \
    --cc=JinHuiEric.Huang@amd.com \
    --cc=Monk.Liu@amd.com \
    --cc=Rex.Zhu@amd.com \
    --cc=Vladislav.Zakharov@synopsys.com \
    --cc=Wenjing.Liu@amd.com \
    --cc=aik@ozlabs.ru \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=aishpant@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.deucher@amd.com \
    --cc=alistair@popple.id.au \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=andresx7@gmail.com \
    --cc=architt@codeaurora.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=axboe@kernel.dk \
    --cc=benh@kernel.crashing.org \
    --cc=catalin.marinas@arm.com \
    --cc=christian.koenig@amd.com \
    --cc=christophe.leroy@c-s.fr \
    --cc=dan.carpenter@oracle.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=elfring@users.sourceforge.net \
    --cc=fabio.estevam@nxp.com \
    --cc=fbarrat@linux.vnet.ibm.com \
    --cc=freedreno@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=heiko@sntech.de \
    --cc=hersenxs.wu@amd.com \
    --cc=hpa@zytor.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jcrouse@codeaurora.org \
    --cc=joe@perches.com \
    --cc=jonathan.derrick@intel.com \
    --cc=joro@8bytes.org \
    --cc=kernel@pengutronix.de \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mhocko@suse.com \
    --cc=mingo@redhat.com \
    --cc=mpe@ellerman.id.au \
    --cc=narmstrong@baylibre.com \
    --cc=nicolai.haehnle@amd.com \
    --cc=noamca@mellanox.com \
    --cc=noralf@tronnes.org \
    --cc=oleg@redhat.com \
    --cc=paulus@ozlabs.org \
    --cc=robdclark@gmail.com \
    --cc=robh@kernel.org \
    --cc=ruscur@russell.cc \
    --cc=sboyd@codeaurora.org \
    --cc=scott.bauer@intel.com \
    --cc=shawnguo@kernel.org \
    --cc=shli@kernel.org \
    --cc=sylvia.tsai@amd.com \
    --cc=tglx@linutronix.de \
    --cc=tony.cheng@amd.com \
    --cc=vbabka@suse.cz \
    --cc=vgupta@synopsys.com \
    --cc=ville.syrjala@linux.intel.com \
    --cc=viresh.kumar@linaro.org \
    --cc=wens@csie.org \
    --cc=will.deacon@arm.com \
    --cc=x86@kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).