Remove remaining __get_unaligned_cpu32
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 2 repliesIn review
Changes in v2 from the cover letter
- Drop patch 1/5 -> already applied
- Squash the three tools patches (3/5, 4/5, 5/5) into one
- Include linux/kernel.h explicitly. It was previously pulled in through packed_struct.h
- Also drop the "#pragma GCC diagnostic" in check-headers.sh. The pragmas were removed in commit 10a62a0611f5 ("tools headers: Remove unneeded ignoring of warnings in unaligned.h")
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | include/linux/unaligned.h: remove deprecated __get_unaligned_cpuX() helpersinclude/ include/ | +0 | 1 reply | |
| 2/2 | tools/include/linux/jhash.h: replace __get_unaligned_cpu32 in jhash functiontools/ tools/ tools/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Remove remaining __get_unaligned_cpu32
This is the remainder of my series removing the deprecated __get_unaligned_cpuX() helpers. Patch 1/5 of the previous version was already applied as commit 50b4233a22b1 ("include/linux/jhash.h: replace __get_unaligned_cpu32 in jhash function"), so this version only contains the remaining patches, rebased onto current master.
There are no users of the helpers left in the tree, so patch 1 removes include/linux/unaligned/packed_struct.h. Patch 2 does the same for the tools copy.
---
Changes in v2:
- Drop patch 1/5 -> already applied
- Squash the three tools patches (3/5, 4/5, 5/5) into one
- Include linux/kernel.h explicitly. It was previously pulled in through packed_struct.h
- Also drop the "#pragma GCC diagnostic" in check-headers.sh. The pragmas were removed in commit 10a62a0611f5 ("tools headers: Remove unneeded ignoring of warnings in unaligned.h")
v1 (RESEND): https://lore.kernel.org/lkml/[email protected]/
---
Julian Vetter (2):
include/linux/unaligned.h: remove deprecated __get_unaligned_cpuX()
helpers
tools/include/linux/jhash.h: replace __get_unaligned_cpu32 in jhash
function
include/linux/unaligned.h | 1 - include/linux/unaligned/packed_struct.h | 46 ------------------ tools/include/linux/jhash.h | 9 ++-- tools/include/linux/unaligned/packed_struct.h | 47 ------------------- tools/perf/check-headers.sh | 2 +- 5 files changed, 6 insertions(+), 99 deletions(-) delete mode 100644 include/linux/unaligned/packed_struct.h delete mode 100644 tools/include/linux/unaligned/packed_struct.h
base-commit: c339f4010dea8b0d754f84ace70cd1b089878ef8
Signature · 1 line
2.53.0