Bug: scsi/scsi_transport.h does not know about struct scsi_target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you include <scsi/scsi_transport.h> and do not include <scsi/scsi_device.h> 
you will get the following error:

include/scsi/scsi_transport.h: In function `scsi_transport_target_data':
include/scsi/scsi_transport.h:78: error: dereferencing pointer to incomplete 
type
include/scsi/scsi_transport.h:79: error: dereferencing pointer to incomplete 
type
include/scsi/scsi_transport.h: In function `scsi_transport_device_data':
include/scsi/scsi_transport.h:86: error: dereferencing pointer to incomplete 
type
include/scsi/scsi_transport.h:87: error: dereferencing pointer to incomplete 
type

I suggest either including scsi_device.h in scsi_transport.h. Patch on 
request.

Eike

Attachment: pgpcNDmd4a0i8.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux