Run pre-commit's whitespace related hooks on projects/amdsmi (#2119)

* Run pre-commit's whitespace related hooks on projects/amdsmi

In order for pre-commit to be useful, everything needs to meet a common
baseline.

* Add whitespace back to Changelog for formatting

---------

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
This commit is contained in:
Mario Limonciello
2025-12-15 13:20:47 -06:00
committed by GitHub
szülő 48e57d3e2a
commit 08949cb884
36 fájl változott, egészen pontosan 340 új sor hozzáadva és 291 régi sor törölve
+32 -32
Fájl megtekintése
@@ -41,33 +41,33 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.6'
- name: Install CMake
run: python3 -m pip install cmake
- name: Install Virtualenv
run: python3 -m pip install virtualenv
- name: Install g++
run: sudo apt-get install -y g++
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.6'
- name: Install CMake
run: python3 -m pip install cmake
- name: Install Virtualenv
run: python3 -m pip install virtualenv
- name: Install g++
run: sudo apt-get install -y g++
- name: Install libdrm
run: sudo apt-get install -y libdrm-dev
- name: Install DOxygen
run: sudo apt-get install -y doxygen
- name: Install LaTeX
run: sudo apt-get install -y texlive
- name: Clean old ROCm directories
run: |
sudo rm -rf /opt/rocm
sudo rm -rf /opt/rocm-*
- name: Install DOxygen
run: sudo apt-get install -y doxygen
- name: Install LaTeX
run: sudo apt-get install -y texlive
- name: Clean old ROCm directories
run: |
sudo rm -rf /opt/rocm
sudo rm -rf /opt/rocm-*
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@@ -77,14 +77,14 @@ jobs:
build-mode: ${{ matrix.build-mode }}
queries: security-extended
- name: Create build directory
run: mkdir -p build
- name: Build AMD SMI Library
run: |
cd build
cmake ..
make -j $(nproc)
- name: Create build directory
run: mkdir -p build
- name: Build AMD SMI Library
run: |
cd build
cmake ..
make -j $(nproc)
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3