Run clang-format

This commit is contained in:
Florian RICHER 2025-02-25 13:32:53 +01:00
parent 372b482212
commit d149cbe6a5
12 changed files with 974 additions and 132 deletions

View file

@ -89,4 +89,20 @@ Full example (run as root):
```bash
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 /etc/pki/akmods/private/private_key.priv /etc/pki/akmods/certs/public_key.der <module_file>.ko
```
### Format
1. .clang-format
How update .clang-format
```bash
curl https://raw.githubusercontent.com/torvalds/linux/refs/heads/master/.clang-format -o .clang-format
```
Format files
```bash
clang-format -i **/*.c
```