From 74c2689eea7d18169095854edf7e7b0cf77b039d Mon Sep 17 00:00:00 2001 From: Yujie Liu Date: Thu, 26 Feb 2026 11:00:38 +0800 Subject: [PATCH] drm/amd/ras: fix kernel-doc warning for ras_eeprom_append() Warning: drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 function parameter 'ras_core' not described in 'ras_eeprom_append' Warning: drivers/gpu/drm/amd/amdgpu/../ras/rascore/ras_eeprom.c:845 expecting prototype for ras_core_eeprom_append(). Prototype was for ras_eeprom_append() instead Fixes: 5c3be5defc92 ("drm/amd/ras: Add eeprom ras functions") Signed-off-by: Yujie Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c b/drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c index cd6b057bdaf3..65c1812a10fb 100644 --- a/drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c +++ b/drivers/gpu/drm/amd/ras/rascore/ras_eeprom.c @@ -829,8 +829,8 @@ static int ras_eeprom_update_header(struct ras_eeprom_control *control) } /** - * ras_core_eeprom_append -- append records to the EEPROM RAS table - * @control: pointer to control structure + * ras_eeprom_append -- append records to the EEPROM RAS table + * @ras_core: pointer to ras core context * @record: array of records to append * @num: number of records in @record array *