]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: qcom: tzmem: fix qcom_tzmem_policy kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 17 Oct 2025 19:13:23 +0000 (12:13 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 20 Oct 2025 00:29:11 +0000 (19:29 -0500)
Fix kernel-doc warnings by using correct kernel-doc syntax and
formatting to prevent warnings:

Warning: include/linux/firmware/qcom/qcom_tzmem.h:25 Enum value
 'QCOM_TZMEM_POLICY_STATIC' not described in enum 'qcom_tzmem_policy'
Warning: ../include/linux/firmware/qcom/qcom_tzmem.h:25 Enum value
 'QCOM_TZMEM_POLICY_MULTIPLIER' not described in enum 'qcom_tzmem_policy'
Warning: ../include/linux/firmware/qcom/qcom_tzmem.h:25 Enum value
 'QCOM_TZMEM_POLICY_ON_DEMAND' not described in enum 'qcom_tzmem_policy'

Fixes: 84f5a7b67b61 ("firmware: qcom: add a dedicated TrustZone buffer allocator")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20251017191323.1820167-1-rdunlap@infradead.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
include/linux/firmware/qcom/qcom_tzmem.h

index 48ac0e5454c7fcb1f763d4881e284ad07cad40b6..23173e0c3dddd154dd56dc3dcb56bd20ada0520a 100644 (file)
@@ -17,11 +17,20 @@ struct qcom_tzmem_pool;
  * enum qcom_tzmem_policy - Policy for pool growth.
  */
 enum qcom_tzmem_policy {
-       /**< Static pool, never grow above initial size. */
+       /**
+        * @QCOM_TZMEM_POLICY_STATIC: Static pool,
+        * never grow above initial size.
+        */
        QCOM_TZMEM_POLICY_STATIC = 1,
-       /**< When out of memory, add increment * current size of memory. */
+       /**
+        * @QCOM_TZMEM_POLICY_MULTIPLIER: When out of memory,
+        * add increment * current size of memory.
+        */
        QCOM_TZMEM_POLICY_MULTIPLIER,
-       /**< When out of memory add as much as is needed until max_size. */
+       /**
+        * @QCOM_TZMEM_POLICY_ON_DEMAND: When out of memory
+        * add as much as is needed until max_size.
+        */
        QCOM_TZMEM_POLICY_ON_DEMAND,
 };