useless casts
Hello,
In looking through some make coccicheck results, I see a bunch of useless casts in the following file, if someone wants to clean them up :)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c
julia
Quoted 9 lines · Julia Lawall
Hello,
In looking through some make coccicheck results, I see a bunch of useless casts in the following file, if someone wants to clean them up :)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c
Hi Julia,
I could clean up the file. What are the coccichecks that should I focus on?
Thank you,
Georgiana
Quoted 2 lines
julia
Quoted 8 lines · Georgiana Chelu
On Friday, 13 October 2017 09:36:44 UTC+3, Julia Lawall wrote:
Hello,In looking through some make coccicheck results, I see a bunch of useless casts in the following file, if someone wants to clean them up :)
Quoted 6 lines
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.cHi Julia,
I could clean up the file. What are the coccichecks that should I focus on?
I'm not sure, since I just ran the whole thing and it doesn't print out the rule name. But you can just run make coccicheck on this file and see what comes out.
julia