drm/msm/adreno: Fix the skip_gpu parameter description
Subsystems (4)
PATCH 1/1 drm/msm/adreno: Fix the skip_gpu parameter description
The module parameter is skip_gpu, but its MODULE_PARM_DESC() names no_gpu, so modinfo describes a parameter that does not exist and shows no description for the real one.
Use the parameter name in the description.
Fixes 3f17991488af ("drm/msm/adreno: Add a modparam to skip GPU")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/adreno/adreno_device.c +1 -1
@@ -25,7 +25,7 @@ MODULE_PARM_DESC(disable_acd, "Forcefully disable GPU ACD");module_param_unsafe (disable_acd, bool,0400 );static bool skip_gpu; -MODULE_PARM_DESC (no_gpu,"Disable GPU driver register (0=enable GPU driver register (default), 1=skip GPU driver register" ); +MODULE_PARM_DESC (skip_gpu,"Disable GPU driver register (0=enable GPU driver register (default), 1=skip GPU driver register" );module_param (skip_gpu, bool,0400 );extern const struct adreno_gpulist a2xx_gpulist;
base-commit: 986c24e0fe44f844b44d365b71ce831947f50298
Signature · 1 line
2.53.0
Quoted 10 lines · Karl Mehltretter
The module parameter is
skip_gpu, but itsMODULE_PARM_DESC()namesno_gpu, so modinfo describes a parameter that does not exist and shows no description for the real one.Use the parameter name in the description.
Fixes 3f17991488af ("drm/msm/adreno: Add a modparam to skip GPU")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad