Re: [PATCH] nomzomi: remove bogus cast

From: Marcel Holtmann
Date: Tue Sep 26 2006 - 03:59:26 EST


Hi Alan,

> May as well go straight into the main tree
>
> Signed-off-by: Alan Cox <alan@xxxxxxxxxx>
>
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.18-mm1/drivers/char/nozomi.c linux-2.6.18-mm1/drivers/char/nozomi.c
> --- linux.vanilla-2.6.18-mm1/drivers/char/nozomi.c 2006-09-25 12:10:08.000000000 +0100
> +++ linux-2.6.18-mm1/drivers/char/nozomi.c 2006-09-25 12:17:53.000000000 +0100
> @@ -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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/