[PATCH] Fixed the warning at ./drivers/gpu/drm/amd/include/amd_shared.h:369

Kevin Paul Reddy Janagari posted 1 patch 10 months, 1 week ago
drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Fixed the warning at ./drivers/gpu/drm/amd/include/amd_shared.h:369
Posted by Kevin Paul Reddy Janagari 10 months, 1 week ago
warning: Incorrect use of kernel-doc format:
* @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW

Signed-off-by: Kevin Paul Reddy Janagari <kevinpaul468@gmail.com>
---
 drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 4c95b885d1d0..c8eccee9b023 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -366,7 +366,7 @@ enum DC_DEBUG_MASK {
 	DC_HDCP_LC_FORCE_FW_ENABLE = 0x80000,
 
 	/**
-	 * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
+	 * @DC_HDCP_LC_ENABLE_SW_FALLBACK: If set, upon HDCP Locality Check FW
 	 * path failure, retry using legacy SW path.
 	 */
 	DC_HDCP_LC_ENABLE_SW_FALLBACK = 0x100000,
-- 
2.39.5
Re: [PATCH] Fixed the warning at ./drivers/gpu/drm/amd/include/amd_shared.h:369
Posted by Mario Limonciello 10 months ago
On 4/4/2025 10:12 PM, Kevin Paul Reddy Janagari wrote:
> warning: Incorrect use of kernel-doc format:
> * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
> 
> Signed-off-by: Kevin Paul Reddy Janagari <kevinpaul468@gmail.com>
> ---
>   drivers/gpu/drm/amd/include/amd_shared.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
> index 4c95b885d1d0..c8eccee9b023 100644
> --- a/drivers/gpu/drm/amd/include/amd_shared.h
> +++ b/drivers/gpu/drm/amd/include/amd_shared.h
> @@ -366,7 +366,7 @@ enum DC_DEBUG_MASK {
>   	DC_HDCP_LC_FORCE_FW_ENABLE = 0x80000,
>   
>   	/**
> -	 * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
> +	 * @DC_HDCP_LC_ENABLE_SW_FALLBACK: If set, upon HDCP Locality Check FW
>   	 * path failure, retry using legacy SW path.
>   	 */
>   	DC_HDCP_LC_ENABLE_SW_FALLBACK = 0x100000,

Thanks for the patch!  But FWIW this was already fixed in this patch 
which is on amd-staging-drm-next now.

https://lore.kernel.org/amd-gfx/20250319111243.14206-1-dominik.kaszewski@amd.com/