dm: fix checkpatch errors and warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest39 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/39 | dm: add missing SPDX-License-Indentifiersdrivers/ drivers/ drivers/ +88 more | +91 | 0 replies | |
| 2/39 | dm: prefer kmap_local_page() instead of deprecated kmap_atomic()drivers/ drivers/ | +18 | 0 replies | |
| 3/39 | dm: use fsleep() instead of msleep() for deterministic sleep durationdrivers/ drivers/ drivers/ +1 more | +10 | 0 replies | |
| 4/39 | dm: change "unsigned" to "unsigned int"drivers/ drivers/ drivers/ +79 more | +1016 | 0 replies | |
| 5/39 | dm: avoid assignment in if conditionsdrivers/ drivers/ drivers/ +1 more | +17 | 0 replies | |
| 6/39 | dm: enclose complex macros into parentheses where possibledrivers/ include/ | +5 | 0 replies | |
| 7/39 | dm: avoid initializing static variablesdrivers/ drivers/ drivers/ +1 more | +5 | 0 replies | |
| 8/39 | dm: address space issues relative to switch/while/for/...drivers/ drivers/ drivers/ +4 more | +12 | 0 replies | |
| 9/39 | dm: address indent/space issuesdrivers/ drivers/ drivers/ +9 more | +24 | 0 replies | |
| 10/39 | dm: correct block comments format.drivers/ drivers/ drivers/ +23 more | +315 | 0 replies | |
| 11/39 | dm: fix undue/missing spacesdrivers/ drivers/ drivers/ +5 more | +12 | 0 replies | |
| 12/39 | dm: fix trailing statementsdrivers/ drivers/ drivers/ +5 more | +66 | 0 replies | |
| 13/39 | dm crypt: correct 'foo*' to 'foo *'drivers/ | +9 | 0 replies | |
| 14/39 | dm block-manager: avoid not required parenthesesdrivers/ | +1 | 0 replies | |
| 15/39 | dm: avoid spaces before function arguments or in favour of tabsdrivers/ drivers/ drivers/ +11 more | +84 | 0 replies | |
| 16/39 | dm: add argument identifier namesdrivers/ drivers/ drivers/ +2 more | +12 | 0 replies | |
| 17/39 | dm: add missing empty linesdrivers/ drivers/ drivers/ +30 more | +240 | 0 replies | |
| 18/39 | dm: remove unnecessary braces from single statement blocksdrivers/ drivers/ drivers/ +4 more | +37 | 0 replies | |
| 19/39 | dm: avoid split of quoted strings where possibledrivers/ drivers/ drivers/ +9 more | +37 | 0 replies | |
| 20/39 | dm: adjust EXPORT_SYMBOL() to follow functions immediatelydrivers/ drivers/ drivers/ +1 more | +3 | 0 replies | |
| 21/39 | dm: prefer '"%s...", __func__'drivers/ drivers/ drivers/ +7 more | +39 | 0 replies | |
| 22/39 | dm: avoid using symbolic permissionsdrivers/ drivers/ drivers/ +6 more | +22 | 0 replies | |
| 23/39 | dm: favour __aligned(N) versus "__attribute__ (aligned(N))"drivers/ drivers/ drivers/ | +7 | 0 replies | |
| 24/39 | dm: favour __packed versus "__attribute__ ((packed))"drivers/ drivers/ | +6 | 0 replies | |
| 25/39 | dm: avoid useless 'else' after 'break' or return'drivers/ drivers/ drivers/ +3 more | +38 | 0 replies | |
| 26/39 | dm: add missing blank line after declarations/fix thosedrivers/ drivers/ drivers/ +2 more | +11 | 0 replies | |
| 27/39 | dm: avoid inline filenamesdrivers/ drivers/ drivers/ | +2 | 0 replies | |
| 28/39 | dm: don't indent labelsdrivers/ drivers/ drivers/ +1 more | +4 | 0 replies | |
| 29/39 | dm ioctl: have constant on the right side of the testdrivers/ | +2 | 0 replies | |
| 30/39 | dm log: avoid trailing semicolon in macrodrivers/ | +1 | 0 replies | |
| 31/39 | dm log: avoid multiple line dereferencedrivers/ | +1 | 0 replies | |
| 32/39 | dm: avoid 'do {} while(0)' loop in single statement macrosdrivers/ drivers/ | +3 | 0 replies | |
| 33/39 | dm: fix use of sizeof() macrodrivers/ drivers/ drivers/ +1 more | +15 | 0 replies | |
| 34/39 | dm integrity: change macros min/max() -> min_t/max_t where appropriatedrivers/ | +5 | 0 replies | |
| 35/39 | dm: avoid void function return statementsdrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 36/39 | dm ioctl: prefer strscpy() instead of strlcpy()drivers/ | +2 | 0 replies | |
| 37/39 | dm: fix suspect indent whitespacedrivers/ drivers/ | +2 | 0 replies | |
| 38/39 | dm: declare variables static when sensibledrivers/ drivers/ | +2 | 0 replies | |
| 39/39 | dm clone: prefer kvmalloc_array()drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [dm-devel] [PATCH 00/39] dm: fix checkpatch errors and warnings
Heinz Mauelshagen (39):
dm: add missing SPDX-License-Indentifiers
dm: prefer kmap_local_page() instead of deprecated kmap_atomic()
dm: use fsleep() instead of msleep() for deterministic sleep duration
dm: change "unsigned" to "unsigned int"
dm: avoid assignment in if conditions
dm: enclose complex macros into parentheses where possible
dm: avoid initializing static variables
dm: address space issues relative to switch/while/for/...
dm: address indent/space issues
dm: correct block comments format.
dm: fix undue/missing spaces
dm: fix trailing statements
dm crypt: correct 'foo*' to 'foo *'
dm block-manager: avoid not required parentheses
dm: avoid spaces before function arguments or in favour of tabs
dm: add argument identifier names
dm: add missing empty lines
dm: remove unnecessary braces from single statement blocks
dm: avoid split of quoted strings where possible
dm: adjust EXPORT_SYMBOL() to follow functions immediately
dm: prefer '"%s...", __func__'
dm: avoid using symbolic permissions
dm: favour __aligned(N) versus "__attribute__ (aligned(N))"
dm: favour __packed versus "__attribute__ ((packed))"
dm: avoid useless 'else' after 'break' or return'
dm: add missing blank line after declarations/fix those
dm: avoid inline filenames
dm: don't indent labels
dm ioctl: have constant on the right side of the test
dm log: avoid trailing semicolon in macro
dm log: avoid multiple line dereference
dm: avoid 'do {} while(0)' loop in single statement macros
dm: fix use of sizeof() macro
dm integrity: change macros min/max() -> min_t/max_t where appropriate
dm: avoid void function return statements
dm ioctl: prefer strscpy() instead of strlcpy()
dm: fix suspect indent whitespace
dm: declare variables static when sensible
dm clone: prefer kvmalloc_array()
drivers/md/dm-bio-prison-v1.c | 19 +- drivers/md/dm-bio-prison-v1.h | 1 + drivers/md/dm-bio-prison-v2.c | 15 +- drivers/md/dm-bio-prison-v2.h | 11 +- drivers/md/dm-bio-record.h | 1 + drivers/md/dm-bufio.c | 128 +++-- drivers/md/dm-builtin.c | 1 - drivers/md/dm-cache-background-tracker.c | 9 +- drivers/md/dm-cache-background-tracker.h | 7 +- drivers/md/dm-cache-block-types.h | 1 + drivers/md/dm-cache-metadata.c | 74 +-- drivers/md/dm-cache-metadata.h | 5 +- drivers/md/dm-cache-policy-internal.h | 14 +- drivers/md/dm-cache-policy-smq.c | 166 +++--- drivers/md/dm-cache-policy.c | 3 +- drivers/md/dm-cache-policy.h | 7 +- drivers/md/dm-cache-target.c | 137 +++-- drivers/md/dm-clone-target.c | 2 +- drivers/md/dm-core.h | 9 +- drivers/md/dm-crypt.c | 115 ++-- drivers/md/dm-delay.c | 7 +- drivers/md/dm-ebs-target.c | 5 +- drivers/md/dm-era-target.c | 122 ++-- drivers/md/dm-exception-store.c | 7 +- drivers/md/dm-exception-store.h | 57 +- drivers/md/dm-flakey.c | 27 +- drivers/md/dm-ima.c | 3 +- drivers/md/dm-ima.h | 7 +- drivers/md/dm-init.c | 4 +- drivers/md/dm-integrity.c | 534 ++++++++++-------- drivers/md/dm-io-rewind.c | 8 +- drivers/md/dm-io-tracker.h | 1 + drivers/md/dm-io.c | 88 +-- drivers/md/dm-ioctl.c | 142 ++--- drivers/md/dm-kcopyd.c | 61 +- drivers/md/dm-linear.c | 5 +- drivers/md/dm-log-userspace-base.c | 15 +- drivers/md/dm-log-userspace-transfer.c | 8 +- drivers/md/dm-log-userspace-transfer.h | 1 + drivers/md/dm-log-writes.c | 23 +- drivers/md/dm-log.c | 65 ++- drivers/md/dm-mpath.c | 108 ++-- drivers/md/dm-mpath.h | 3 +- drivers/md/dm-path-selector.c | 4 +- drivers/md/dm-path-selector.h | 28 +- drivers/md/dm-ps-io-affinity.c | 6 +- drivers/md/dm-ps-queue-length.c | 15 +- drivers/md/dm-ps-round-robin.c | 22 +- drivers/md/dm-ps-service-time.c | 26 +- drivers/md/dm-raid.c | 29 +- drivers/md/dm-raid1.c | 78 +-- drivers/md/dm-region-hash.c | 29 +- drivers/md/dm-rq.c | 27 +- drivers/md/dm-rq.h | 3 +- drivers/md/dm-snap-persistent.c | 48 +- drivers/md/dm-snap-transient.c | 18 +- drivers/md/dm-snap.c | 91 +-- drivers/md/dm-stats.c | 101 ++-- drivers/md/dm-stats.h | 6 +- drivers/md/dm-stripe.c | 41 +- drivers/md/dm-switch.c | 47 +- drivers/md/dm-sysfs.c | 10 +- drivers/md/dm-table.c | 56 +- drivers/md/dm-target.c | 6 +- drivers/md/dm-thin-metadata.c | 66 ++- drivers/md/dm-thin-metadata.h | 1 + drivers/md/dm-thin.c | 86 +-- drivers/md/dm-uevent.c | 6 +- drivers/md/dm-uevent.h | 6 +- drivers/md/dm-unstripe.c | 1 + drivers/md/dm-verity-fec.c | 30 +- drivers/md/dm-verity-fec.h | 18 +- drivers/md/dm-verity-target.c | 77 +-- drivers/md/dm-verity-verify-sig.h | 2 +- drivers/md/dm-verity.h | 8 +- drivers/md/dm-writecache.c | 169 +++--- drivers/md/dm-zero.c | 1 + drivers/md/dm-zoned-metadata.c | 20 +- drivers/md/dm-zoned-target.c | 1 - drivers/md/dm.c | 87 +-- drivers/md/dm.h | 17 +- drivers/md/persistent-data/dm-array.c | 82 +-- drivers/md/persistent-data/dm-array.h | 3 +- drivers/md/persistent-data/dm-bitset.c | 14 +- drivers/md/persistent-data/dm-bitset.h | 1 + drivers/md/persistent-data/dm-block-manager.c | 32 +- drivers/md/persistent-data/dm-block-manager.h | 7 +- .../md/persistent-data/dm-btree-internal.h | 6 +- drivers/md/persistent-data/dm-btree-remove.c | 52 +- drivers/md/persistent-data/dm-btree-spine.c | 21 +- drivers/md/persistent-data/dm-btree.c | 130 +++-- drivers/md/persistent-data/dm-btree.h | 15 +- .../dm-persistent-data-internal.h | 7 +- .../md/persistent-data/dm-space-map-common.c | 52 +- .../md/persistent-data/dm-space-map-common.h | 11 +- .../md/persistent-data/dm-space-map-disk.c | 13 +- .../md/persistent-data/dm-space-map-disk.h | 1 + .../persistent-data/dm-space-map-metadata.c | 24 +- .../persistent-data/dm-space-map-metadata.h | 1 + drivers/md/persistent-data/dm-space-map.h | 1 + .../persistent-data/dm-transaction-manager.c | 18 +- .../persistent-data/dm-transaction-manager.h | 3 +- include/linux/device-mapper.h | 60 +- include/linux/dm-bufio.h | 13 +- include/linux/dm-dirty-log.h | 9 +- include/linux/dm-io.h | 9 +- include/linux/dm-kcopyd.h | 23 +- include/linux/dm-region-hash.h | 9 +- 108 files changed, 2154 insertions(+), 1776 deletions(-)
Signature · 6 lines
2.37.0 (Apple Git-136) -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel