nomzomi: remove bogus cast
PATCH 1/1 nomzomi: remove bogus cast
May as well go straight into the main tree
Signed-off-by Alan Cox <[email protected]>
drivers/char/nozomi.c +1 -1
@@ -1225,7 +1225,7 @@ }if ( !(dc =get_dc_by_pdev (dev_id)) ) { -ERR ("Could not find device context from pci_dev: %d" , (u32 ) dev_id); +ERR ("Could not find device context from pci_dev: %p" , dev_id);return IRQ_NONE ; }
Quoted 2 lines · Alan Cox
May as well go straight into the main tree
Umm.
Great idea, but that file is not actually _in_ the main tree yet. I think your original patch to add it still lies in the -mm queue ;)
So send it to Andrew, or just re-send it once Andrew has patch-bombed me, ok? I'm too disorganized to keep track of it separately..
Linus
Hi Alan,
Quoted 8 lines
May as well go straight into the main tree
Signed-off-by Alan Cox <[email protected]>diff -u --new-file --recursive --exclude-from
/usr/src/excludelinux.vanilla-2.6.18-mm1/drivers/char/nozomi.clinux-2.6.18-mm1/drivers/char/nozomi.c
drivers/char/nozomi.c line 1231
Quoted 8 lines
drivers/char/nozomi.c +1
-1@@ -1225,7 +1225,7 @@ }if ( !(dc =get_dc_by_pdev (dev_id)) ) { -ERR ("Could not find device context from pci_dev: %d" , (u32 ) dev_id); +ERR ("Could not find device context from pci_dev: %p" , dev_id);return IRQ_NONE ; }
this driver needs more love than this ;)
Regards
Marcel