aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2023-12-20 08:19:23 -0800
committerRodrigo Vivi <[email protected]>2023-12-21 16:27:45 -0500
commitb6e1b708176846248c87318786d22465ac96dd2c (patch)
tree221de3b05c265913bd8df504b40134c68ac155c9 /scripts/generate_rust_analyzer.py
parentde991b9af0532a05d5206c065bf343d6a767a9d2 (diff)
drm/xe: Remove uninitialized variable from warning
"err" is not initialized when failing to create and add the freq0 sysfs file. Remove it from the message. This fixes the following warning with clang: ../drivers/gpu/drm/xe/xe_gt_freq.c:202:30: error: variable 'err' is uninitialized when used here [-Werror,-Wuninitialized] kobject_name(gt->sysfs), err); ^~~ Fixes: bef52b5c7a19 ("drm/xe: Create a xe_gt_freq component for raw management and sysfs") Reviewed-by: MichaƂ Winiarski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions