Re: [PATCH] nomzomi: remove bogus cast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

> 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/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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux