From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C5E3349AE7; Tue, 16 Dec 2025 11:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765885165; cv=none; b=cMDE4y/foep6m7EOIyDW/nhn3Qr76oJg278jOWoOMNxr1LfeokDeaLlY+KQAypvJsdeqWGyX2D5hHNvihnuyHzKRylTINsHL+zEMGVh3cOK/wWkLhLARMKuSUesI6j0KwvL9F2tD7FP6Yqiv0zHU4ypq8LaTEezsSK5IJlBrJEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765885165; c=relaxed/simple; bh=gUlxE7T/X3TXOl3GMWsnB/EewsF3sH2Cq6HdW3dMq/c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Bv4SmpD3t1X4sv4XO/dclvjGFDUwyuN3P4Ly1q7lxh9VyPQ0s9J3A5P+AKryW/rReHcxJzS257BEzbjV0fpH/UBHUV3+1YlXMZFFkT4+EBAyc4X0ck4lnOgWW80Y6gb+ZsZLUO2ZlLBFZnwVkGQI19Bu3nsecla+gpUmAxML0QE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bvHDwRH5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bvHDwRH5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17DE5C4CEF1; Tue, 16 Dec 2025 11:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765885164; bh=gUlxE7T/X3TXOl3GMWsnB/EewsF3sH2Cq6HdW3dMq/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bvHDwRH56jXU1kfTIO1fkaunkRe6MVFHi8VVcjTB4VJ/ttqUACVTTAbXV3rAi0M87 da642V6+rzsHvkVQ71a596V5dBJQW/xHgaSQ3qJ2ShDI9dhGVddCDwp+21f7otAypC GVQZ6KMYueaSS2/OMsoAQEKiezqs7Nou/f7mjVW4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Randy Dunlap , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.17 056/507] firmware: qcom: tzmem: fix qcom_tzmem_policy kernel-doc Date: Tue, 16 Dec 2025 12:08:17 +0100 Message-ID: <20251216111347.572996448@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216111345.522190956@linuxfoundation.org> References: <20251216111345.522190956@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit edd548dc64a699d71ea4f537f815044e763d01e1 ] 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 Link: https://lore.kernel.org/r/20251017191323.1820167-1-rdunlap@infradead.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- include/linux/firmware/qcom/qcom_tzmem.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/include/linux/firmware/qcom/qcom_tzmem.h b/include/linux/firmware/qcom/qcom_tzmem.h index b83b63a0c049b..e1e26dc4180e7 100644 --- a/include/linux/firmware/qcom/qcom_tzmem.h +++ b/include/linux/firmware/qcom/qcom_tzmem.h @@ -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, }; -- 2.51.0