Skip to contentSkip to conversation

pm: cpupower: Clean up bindings gitignore

PATCH Superseded John B. Wyatt IV 2 participants 3 messages Sep 19, 2024 CPU power monitoring

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

John B. Wyatt IV

author maintainer
#0 lore raw

PATCH 1/1 pm: cpupower: Clean up bindings gitignore

* Add SPDX identifier to the gitignore
* Remove the comment and .i file since it was removed in another patch and therefore no longer needed.

This patch depends on Min-Hua Chen's 'pm: cpupower: rename raw_pylibcpupower.i'

---
 tools/power/cpupower/bindings/python/.gitignore | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/power/cpupower/bindings/python/.gitignore +1 -2
index 5c9a1f0212dd..51cbb8799c44 100644
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 __pycache__/
 raw_pylibcpupower_wrap.c
 *.o
 *.so
 *.py
 !test_raw_pylibcpupower.py
-# git keeps ignoring this file, use git add -f raw_libcpupower.i
-!raw_pylibcpupower.i
Signature · 1 line
2.46.0
maintainer
#1 lore raw
Quoted 3 lines · John B. Wyatt IV

* Add SPDX identifier to the gitignore
* Remove the comment and .i file since it was removed in another patch and therefore no longer needed.

Don't use the * in the changelogs. There is no need to write this like a itemized list. Simply write it as a paragraph.

Quoted 15 lines

This patch depends on Min-Hua Chen's 'pm: cpupower: rename raw_pylibcpupower.i'

---
  tools/power/cpupower/bindings/python/.gitignore | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
tools/power/cpupower/bindings/python/.gitignore +0 -0
index 5c9a1f0212dd..51cbb8799c44 100644

tools/power/cpupower/bindings/python/.gitignore line 8

Quoted 9 lines
tools/power/cpupower/bindings/python/.gitignore +1 -2
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
  __pycache__/
  raw_pylibcpupower_wrap.c
  *.o
  *.so
  *.py
  !test_raw_pylibcpupower.py
-# git keeps ignoring this file, use git add -f raw_libcpupower.i
-!raw_pylibcpupower.i

thanks,
-- Shuah

author maintainer
#2 lore raw
Quoted 7 lines · Shuah Khan
Quoted 3 lines · John B. Wyatt IV

* Add SPDX identifier to the gitignore
* Remove the comment and .i file since it was removed in another patch and therefore no longer needed.

Don't use the * in the changelogs. There is no need to write this like a itemized list. Simply write it as a paragraph.

Sorry about that; v2 sent.

Signature · 4 lines
Sincerely,
John Wyatt
Software Engineer, Core Kernel
Red Hat