Browse Source

[PATCH] fix mesh compile errors after irq changes

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 <olaf@aepfle.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Olaf Hering 18 years ago
parent
commit
b7696ee3c0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/scsi/mesh.c

+ 2 - 2
drivers/scsi/mesh.c

@@ -466,7 +466,7 @@ static void mesh_start_cmd(struct mesh_state *ms, struct scsi_cmnd *cmd)
 				dlog(ms, "intr b4 arb, intr/exc/err/fc=%.8x",
 				dlog(ms, "intr b4 arb, intr/exc/err/fc=%.8x",
 				     MKWORD(mr->interrupt, mr->exception,
 				     MKWORD(mr->interrupt, mr->exception,
 					    mr->error, mr->fifo_count));
 					    mr->error, mr->fifo_count));
-				mesh_interrupt(0, (void *)ms, NULL);
+				mesh_interrupt(0, (void *)ms);
 				if (ms->phase != arbitrating)
 				if (ms->phase != arbitrating)
 					return;
 					return;
 			}
 			}
@@ -504,7 +504,7 @@ static void mesh_start_cmd(struct mesh_state *ms, struct scsi_cmnd *cmd)
 		dlog(ms, "intr after disresel, intr/exc/err/fc=%.8x",
 		dlog(ms, "intr after disresel, intr/exc/err/fc=%.8x",
 		     MKWORD(mr->interrupt, mr->exception,
 		     MKWORD(mr->interrupt, mr->exception,
 			    mr->error, mr->fifo_count));
 			    mr->error, mr->fifo_count));
-		mesh_interrupt(0, (void *)ms, NULL);
+		mesh_interrupt(0, (void *)ms);
 		if (ms->phase != arbitrating)
 		if (ms->phase != arbitrating)
 			return;
 			return;
 		dlog(ms, "after intr after disresel, intr/exc/err/fc=%.8x",
 		dlog(ms, "after intr after disresel, intr/exc/err/fc=%.8x",