Skip to content

da8xx: fix section mismatch in new drivers

Bartosz Golaszewski dri-devel linux-arm-kernel linux-devicetree lkml 4 versions – Applied

Status from this message: Applied both. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied
  2. v33 patches 1 replySuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches13 repliesSuperseded

Changes in v4 from the cover letter

- drop the compatible string printing altogether as the new function is not safe
- merge the typo fix into patch [1/2]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name()drivers/bus/da8xx-mstpri.c+1 -30 replies
2/2memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name()drivers/memory/da8xx-ddrctl.c+1 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] da8xx: fix section mismatch in new drivers

Sekhar noticed there's a section mismatch in the da8xx-mstpri and da8xx-ddrctl drivers. This is caused by calling of_flat_dt_get_machine_name() which has an __init annotation.

This series makes the drivers drop the call and not print the machine name in the error message.

v1 -> v2:
- drop patch [1/3] from v1
- introduce internal routines in the drivers instead of a general function in of/base.c

v2 -> v3:
- use of_property_read_string_index() instead of of_property_read_string() to get the first compatible entry
- s/priotities/priorities

v3 -> v4:
- drop the compatible string printing altogether as the new function is not safe
- merge the typo fix into patch [1/2]

Bartosz Golaszewski (2):
bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name()
memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name()

 drivers/bus/da8xx-mstpri.c    | 4 +---
 drivers/memory/da8xx-ddrctl.c | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
Signature · 1 line
2.9.3