Skip to contentSkip to conversation

Fix line Length

PATCH Superseded Dorine Tipo 4 participants 4 messages Oct 29, 2023 – Oct 30, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix line Length

Fix the line lengths of lines 8 and 49

---
 drivers/gpu/drm/ci/igt_runner.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/ci/igt_runner.sh +4 -2
index 2bb759165063..d7b779bb7f64 100755
@@ -5,7 +5,8 @@ set -ex
 
 export IGT_FORCE_DRIVER=${DRIVER_NAME}
 export PATH=$PATH:/igt/bin/
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu:/igt/lib:/igt/lib64
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib:/igt/lib64
 
 # Uncomment the below to debug problems with driver probing
 : '
@@ -46,7 +47,8 @@ else
     ARCH="x86_64"
 fi
 
-curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /
+curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s \
+	${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /
 
 set +e
 igt-runner \
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Dorine Tipo

Fix the line lengths of lines 8 and 49

Is it checkpatch fix?

Quoted 10 lines
---
 drivers/gpu/drm/ci/igt_runner.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/ci/igt_runner.sh +0 -0
index 2bb759165063..d7b779bb7f64 100755

drivers/gpu/drm/ci/igt_runner.sh set -ex · line 9

Quoted 6 lines
drivers/gpu/drm/ci/igt_runner.sh +2 -1
@@ -5,7 +5,8 @@ set -ex
 
 export IGT_FORCE_DRIVER=${DRIVER_NAME}
 export PATH=$PATH:/igt/bin/
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu:/igt/lib:/igt/lib64
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib:/igt/lib64

I'd like the former (single-line) assignment version.

drivers/gpu/drm/ci/igt_runner.sh else · line 51

Quoted 3 lines
drivers/gpu/drm/ci/igt_runner.sh +2 -1
-curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /
+curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s \
+	${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /

This one LGTM.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw
In reply to Dorine Tipo
Quoted 2 lines · Dorine Tipo

Fix the line lengths of lines 8 and 49

It's not necessary to provide the numbers of the lines. The reader can see where the changes rae made in the patch. Since a patch should only do one thing, all changed places should be related to that thing.

"Fix" is quite vague. Here you could say "Reduce" to be more clear about what is being done.

julia

Quoted 35 lines
---
 drivers/gpu/drm/ci/igt_runner.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/ci/igt_runner.sh +4 -3
index 2bb759165063..d7b779bb7f64 100755
@@ -5,7 +5,8 @@ set -ex
 
 export IGT_FORCE_DRIVER=${DRIVER_NAME}
 export PATH=$PATH:/igt/bin/
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu:/igt/lib:/igt/lib64
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib/aarch64-linux-gnu/:/igt/lib/x86_64-linux-gnu
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/igt/lib:/igt/lib64
 
 # Uncomment the below to debug problems with driver probing
 : '
@@ -46,7 +47,8 @@ else
     ARCH="x86_64"
 fi
 
-curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /
+curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s \
+	${FDO_HTTP_CACHE_URI:-}$PIPELINE_ARTIFACTS_BASE/$ARCH/igt.tar.gz | tar --zstd -v -x -C /
 
 set +e
 igt-runner \
--

2.25.1

#3 lore raw
In reply to Dorine Tipo
Quoted 6 lines · Dorine Tipo

Fix the line lengths of lines 8 and 49

---
 drivers/gpu/drm/ci/igt_runner.sh | 6 ++++--

outreachy submissions should not be for files like this, please read the application instructions again. All of your changes are not following the requirements and as such, I have deleted them all from my review queue, sorry.

greg k-h