Skip to contentSkip to conversation

alpha: Fix type compatibility warning for marvel_map_irq

PATCH Phil Carmody 2 participants 3 messages Jul 16, 2013 – Jul 17, 2013 Alpha port

lore
Share & tools
lore

Phil Carmody

author Acked-by
#0 lore raw

Greetings Richard,

Your

+ struct pci_dev *dev = (struct pci_dev *)dev;

should surely (i.e. I'm nowhere near a compiler or kernel tree presently) be

+ struct pci_dev *dev = (struct pci_dev *)cdev;

I guess post that, you can have:

Cheers,
Phil

#1 lore raw
Quoted 6 lines · Phil Carmody

Greetings Richard,

Your

+ struct pci_dev *dev = (struct pci_dev *)dev;

Quoted 8 lines

should surely (i.e. I'm nowhere near a compiler or kernel tree presently) be

+ struct pci_dev *dev = (struct pci_dev *)cdev;

I guess post that, you can have:

Ug. Self-assignment suppressing uninitialized variable warning is the stupidest extension evar.

Good eyes, thanks.

r~

#2 lore raw
Quoted 10 lines · Richard Henderson
Quoted 9 lines · Phil Carmody

Greetings Richard,

Your

+ struct pci_dev *dev = (struct pci_dev *)dev;

should surely (i.e. I'm nowhere near a compiler or kernel tree presently) be

Quoted 8 lines
Quoted 5 lines

+ struct pci_dev *dev = (struct pci_dev *)cdev;

I guess post that, you can have:

Ug. Self-assignment suppressing uninitialized variable warning is the stupidest extension evar.

That complaint gets my Ack too!

Quoted 1 line

Good eyes, thanks.

I don't have much to offer, but I never forget how enormously in debt I am to those who enabled my shiny new '164 to run linux way way back.

Phil

Signature · 3 lines
If "law-abiding citizens have nothing to fear" from privacy-invading 
technologies and policies, then law-abiding governments should have
nothing to fear from whistleblowers.