Re: [PATCH] Fix scsi/scsi_transport.h compile error

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

 



Am Montag, 31. Juli 2006 16:38 schrieb Kyle McMartin:
> On Mon, Jul 31, 2006 at 03:37:46PM +0200, Stefan Richter wrote:
> > > This should be solved with a "struct scsi_device;" decl, instead of
> > > Yet More Header Dependancies...
> >
> > That function accesses members of the struct, i.e. the compiler needs to
> > know offsets into struct scsi_device at this point. Therefore it needs
> > the definition, not a declaration.
>
> Odd, ISTR that it only needed to be defined at the point the inline was
> used. Oh well, my bad.

That would be expected behaviour on a define.

Eike

Attachment: pgpUykKJTTwjJ.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