Thread (14 messages) 14 messages, 11 authors, 2018-02-24

Re: [PATCH] fix double ;;s in code

From: Rob Clark <hidden>
Date: 2018-02-20 01:25:57
Also in: amd-gfx, dri-devel, linux-arm-msm, linux-block, linux-efi, linux-iommu, linux-raid

On Mon, Feb 19, 2018 at 2:33 PM, Pavel Machek [off-list ref] wrote:
On Mon 2018-02-19 16:41:35, Daniel Vetter wrote:
quoted
On Sun, Feb 18, 2018 at 11:00:56AM +0100, Christophe LEROY wrote:
quoted

Le 17/02/2018 =C3=A0 22:19, Pavel Machek a =C3=A9crit :
quoted
Fix double ;;'s in code.

Signed-off-by: Pavel Machek <redacted>
A summary of the files modified on top of the patch would help underst=
and
quoted
quoted
the impact.

A maybe there should be one patch by area, eg one for each arch specif=
ic
quoted
quoted
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.
fwiw, one of those four is dup of a patch that I've already pushed to
msm-next for drm/msm (which seems to be an argument for splitting up a
treewide patch.. which seems something quite scriptable, but up to you
whether you want to bother with that.. either way drm/msm is ;;-clean
now)

BR,
-R

                                                                Pavel
quoted
quoted
quoted
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/driv=
ers/gpu/drm/amd/display/dc/core/dc_link_dp.c
quoted
quoted
quoted
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(
quoted
quoted
quoted
          uint32_t retries_ch_eq;
          enum dc_lane_count lane_count =3D lt_settings->link_settin=
gs.lane_count;
quoted
quoted
quoted
          union lane_align_status_updated dpcd_lane_status_updated =
=3D {{0}};
quoted
quoted
quoted
- union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] =3D {{{0}}};=
;
quoted
quoted
quoted
+ union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] =3D {{{0}}};
          hw_tr_pattern =3D get_supported_tp(link);
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers=
/gpu/drm/amd/powerplay/amd_powerplay.c
quoted
quoted
quoted
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=
)) {
quoted
quoted
quoted
                          pr_err("smc start failed\n");
                          hwmgr->smumgr_funcs->smu_fini(pp_handle->h=
wmgr);
quoted
quoted
quoted
-                 return -EINVAL;;
+                 return -EINVAL;
                  }
                  if (ret =3D=3D PP_DPM_DISABLED)
                          goto exit;
diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c b/drivers/gpu/d=
rm/msm/mdp/mdp5/mdp5_kms.c
quoted
quoted
quoted
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)
quoted
quoted
quoted
          } else {
                  dev_info(&pdev->dev,
                           "no iommu, fallback to phys contig buffer=
s for scanout\n");
quoted
quoted
quoted
-         aspace =3D NULL;;
+         aspace =3D 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
quoted
quoted
quoted
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_sched=
uler *sched, struct drm_sched_jo
quoted
quoted
quoted
  {
          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_lis=
t, node) {
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/b=
log.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help