Smaill error in AIC7XXX reset function

Han Holl (jeholl@euronet.nl)
Tue, 23 Apr 1996 21:15:44 +0200


In the drivers/scsi/aic7xxx.h the reset function is prototyped as:

extern int aic7xxx_reset(Scsi_Cmnd *);

In drivers/scsi/hosts.h a pointer to the reset function is prototyped as:
struct SHT {
...
int (* reset)(Scsi_Cmnd *, unsigned int);

This leads to the following warning:

hosts.c:205: warning: initialization from incompatible pointer type
I guess a dummy int should be added to the aic7xxx reset function.

Regards,

Han