lkml.org 
[lkml]   [2006]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] nomzomi: remove bogus cast
From
Date
Hi Alan,

> May as well go straight into the main tree
>
> Signed-off-by: Alan Cox <alan@redhat.com>
>
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-26 10:03    [W:0.770 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site