On Fri, 6 Oct 2006, Olaf Hering wrote:
> drivers/scsi/mesh.c:469: error: too many arguments to function 'mesh_interrupt'
> drivers/scsi/mesh.c:507: error: too many arguments to function 'mesh_interrupt'
>
> Signed-off-by: Olaf Hering <[email protected]>
>
> ---
> drivers/scsi/mesh.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-2.6/drivers/scsi/mesh.c
> ===================================================================
> --- linux-2.6.orig/drivers/scsi/mesh.c
> +++ linux-2.6/drivers/scsi/mesh.c
> @@ -466,7 +466,7 @@ static void mesh_start_cmd(struct mesh_s
> dlog(ms, "intr b4 arb, intr/exc/err/fc=%.8x",
> MKWORD(mr->interrupt, mr->exception,
> mr->error, mr->fifo_count));
> - mesh_interrupt(0, (void *)ms, NULL);
> + mesh_interrupt(0, (void *)ms);
^^^^^^^^
> if (ms->phase != arbitrating)
> return;
> }
> @@ -504,7 +504,7 @@ static void mesh_start_cmd(struct mesh_s
> dlog(ms, "intr after disresel, intr/exc/err/fc=%.8x",
> MKWORD(mr->interrupt, mr->exception,
> mr->error, mr->fifo_count));
> - mesh_interrupt(0, (void *)ms, NULL);
> + mesh_interrupt(0, (void *)ms);
^^^^^^^^
These casts are superfluous, right?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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]