Skip to contentSkip to conversation

firmware: qcom: tzmem: export devm_qcom_tzmem_pool_new()

PATCH Applied Bartosz Golaszewski 4 participants 4 messages Jun 24, 2024 – Jun 25, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: qcom: tzmem: export devm_qcom_tzmem_pool_new()

From: Bartosz Golaszewski <[email protected]>

EXPORT_SYMBOL_GPL() is missing for devm_qcom_tzmem_pool_new() which causes build failures with randconfig. Add it and fix the issue.

Fixes 84f5a7b67b61 ("firmware: qcom: add a dedicated TrustZone buffer allocator")
---
 drivers/firmware/qcom/qcom_tzmem.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_tzmem.c +1 -0
index aab6376cade5..5d526753183d 100644
@@ -324,6 +324,7 @@ devm_qcom_tzmem_pool_new(struct device *dev,
 
 	return pool;
 }
+EXPORT_SYMBOL_GPL(devm_qcom_tzmem_pool_new);
 
 static bool qcom_tzmem_try_grow_pool(struct qcom_tzmem_pool *pool,
 				     size_t requested, gfp_t gfp)
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

EXPORT_SYMBOL_GPL() is missing for devm_qcom_tzmem_pool_new() which causes build failures with randconfig. Add it and fix the issue.

Fixes 84f5a7b67b61 ("firmware: qcom: add a dedicated TrustZone buffer allocator")
Quoted 20 lines
---
 drivers/firmware/qcom/qcom_tzmem.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_tzmem.c +1 -0
index aab6376cade5..5d526753183d 100644
@@ -324,6 +324,7 @@ devm_qcom_tzmem_pool_new(struct device *dev,
 
 	return pool;
 }
+EXPORT_SYMBOL_GPL(devm_qcom_tzmem_pool_new);
 
 static bool qcom_tzmem_try_grow_pool(struct qcom_tzmem_pool *pool,
 				     size_t requested, gfp_t gfp)
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#2 lore raw
In reply to Bartosz Golaszewski
Quoted 9 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

EXPORT_SYMBOL_GPL() is missing for devm_qcom_tzmem_pool_new() which causes build failures with randconfig. Add it and fix the issue.

Fixes 84f5a7b67b61 ("firmware: qcom: add a dedicated TrustZone buffer allocator")
Quoted 19 lines
---
 drivers/firmware/qcom/qcom_tzmem.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_tzmem.c +1 -0
index aab6376cade5..5d526753183d 100644
@@ -324,6 +324,7 @@ devm_qcom_tzmem_pool_new(struct device *dev,
 
 	return pool;
 }
+EXPORT_SYMBOL_GPL(devm_qcom_tzmem_pool_new);
 
 static bool qcom_tzmem_try_grow_pool(struct qcom_tzmem_pool *pool,
 				     size_t requested, gfp_t gfp)
Signature · 1 line
2.43.0
maintainer Applied
#3 lore raw
In reply to Bartosz Golaszewski
Quoted 4 lines · Bartosz Golaszewski

EXPORT_SYMBOL_GPL() is missing for devm_qcom_tzmem_pool_new() which causes build failures with randconfig. Add it and fix the issue.

Applied, thanks!

[1/1] firmware: qcom: tzmem: export devm_qcom_tzmem_pool_new()

      commit: d96377892dd89bd4e7e5ae7293647f6bc7bddf7d

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>