Skip to contentSkip to conversation

useless casts

DISCUSSION Julia Lawall 2 participants 3 messages Oct 13, 2017

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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

#2 lore raw
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.c

Hi 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