lkml.org 
[lkml]   [1996]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSmaill error in AIC7XXX reset function
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.060 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site