devres: provide and use devm_kstrdup_const()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest posting 2/24 patches 5 repliesIn review
- v6 posting 1/24 patches 2 repliesSuperseded
- v54 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 4 patches | 3 replies | Superseded | |
| v3 | 4 patches | 12 replies | Superseded | |
| v2 | 4 patches | 7 replies | Superseded | |
| v1 | 2 patches | 10 replies | Superseded |
Changes in v6 from the cover letter
- fixed the commit message in patch 2/4 (s/devm_kfree_const/devm_kfree/)
- collected even more tags
Patches in v6 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | devres: constify p in devm_kfree()drivers/ include/ | +4 | 0 replies | |
| 2/4 | mm: move is_kernel_rodata() to asm-generic/sections.hinclude/ mm/ | +14 | 2 replies | |
| 3/4 | devres: provide devm_kstrdup_const()drivers/ include/ | +33 | 1 reply | |
| 4/4 | mailbox: tegra-hsp: use devm_kstrdup_const()drivers/ | +9 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Bjorn Andersson | Geert Uytterhoeven | Rasmus Villemoes | Andy Shevchenko | Mike Rapoport |
|---|---|---|---|---|---|
| 1/4 | R-b | R-b | A-b | R-b | |
| 2/4 | R-b | R-b | A-b | R-b | A-b |
| 3/4 | R-b | R-b | A-b | R-b | A-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [RESEND PATCH v6 0/4] devres: provide and use devm_kstrdup_const()
Hi Greg,
this has been reviewed a lot and three first patches can be picked up. Please take it through your tree.
This series implements devm_kstrdup_const() together with some prerequisite changes and uses it in tegra-hsp driver.
v1 -> v2:
- fixed the changelog in the patch implementing devm_kstrdup_const()
- fixed the kernel doc
- moved is_kernel_rodata() to asm-generic/sections.h
- fixed constness
v2 -> v3:
- rebased on top of 4.19-rc5 as there were some conflicts in the pmc-atom driver
- collected Reviewed-by tags
v3 -> v4:
- Andy NAK'ed patch 4/4 so I added a different example
- collected more tags
v4 -> v5:
- instead of providing devm_kfree_const(), make devm_kfree() check if given pointer is not in .rodata and act accordingly
v5 -> v6:
- fixed the commit message in patch 2/4 (s/devm_kfree_const/devm_kfree/)
- collected even more tags
Bartosz Golaszewski (4):
devres: constify p in devm_kfree()
mm: move is_kernel_rodata() to asm-generic/sections.h
devres: provide devm_kstrdup_const()
mailbox: tegra-hsp: use devm_kstrdup_const()
drivers/base/devres.c | 36 +++++++++++++++++++++++++++-- drivers/mailbox/tegra-hsp.c | 41 ++++++++-------------------------- include/asm-generic/sections.h | 14 ++++++++++++ include/linux/device.h | 4 +++- mm/util.c | 7 ------ 5 files changed, 60 insertions(+), 42 deletions(-)
Signature · 1 line
2.19.1