Messages in this thread Patch in this message | | | Date | Sun, 17 Aug 2003 10:09:01 +0200 | From | Olaf Hering <> | Subject | Re: scsi proc_info called unconditionally |
| |
On Sat, Aug 16, Alan Cox wrote:
> On Sad, 2003-08-16 at 09:44, Olaf Hering wrote: > > Why is ->proc_info() called when the function pointer is NULL? > > > > (none):/# mount proc > > Because proc_info is mandatory ?
Paul, do you want to fill in some content in that proc file?
--- linuxppc-2.5/drivers/scsi/mac53c94.c 2003-08-04 01:59:22.000000000 +0200 +++ linux-2.6.0-test3-lxppc25/drivers/scsi/mac53c94.c 2003-08-17 10:00:06.000000000 +0200 @@ -614,8 +614,15 @@ data_goes_out(Scsi_Cmnd *cmd) } } +int mac53c94_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_t offset, + int length, int inout) +{ + return 0; +} + static Scsi_Host_Template driver_template = { .proc_name = "53c94", + .proc_info = mac53c94_proc_info, .name = "53C94", .detect = mac53c94_detect, .release = mac53c94_release, -- USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |