From: Douglas Gilbert <dougg at torque.net> Subject: Re: [Stgt-devel] tgtif.c doesn't compile Date: Sat, 14 Apr 2007 00:07:44 -0400 > FUJITA Tomonori wrote: > > From: Douglas Gilbert <dougg at torque.net> > > Subject: Re: [Stgt-devel] tgtif.c doesn't compile > > Date: Fri, 13 Apr 2007 11:48:50 -0400 > > > >> FUJITA Tomonori wrote: > >>> From: Douglas Gilbert <dougg at torque.net> > >>> Subject: [Stgt-devel] tgtif.c doesn't compile > >>> Date: Thu, 12 Apr 2007 16:11:28 -0400 > >>> > >>>> The sense_len, sense_uaddr fields are not in scsi/scsi_tgt_if.h > >>>> in Linus, linux-2.6-block.git,bsg, or linux-2.6-target kernels. > >>>> Where else should I be looking? > >>> Please use James' scsi-misc master branch or linux-2.6-target tgt > >>> branch. > >> Tomo, > >> Following a link from stgt.berlios.de I went here: > >> http://git.kernel.org/?p=linux/kernel/git/tomo/linux-2.6-target.git;a=summary > >> > >> which shows this information: > >> > >> description scsi-target tree > >> owner FUJITA Tomonori > >> last change Thu, 22 Mar 2007 02:45:50 +0000 > >> URL git://git.kernel.org/pub/scm/linux/kernel/git/tomo/linux-2.6-target.git > >> http://www.kernel.org/pub/scm/linux/kernel/git/tomo/linux-2.6-target.git > >> > >> > >> So I cloned that repository and it has only one branch: "main" > > > > Strange. I just tried and it looks fine. > > > > fujita at iris:/tmp$ git-clone git://git.kernel.org/pub/scm/linux/kernel/git/tomo/linux-2.6-target.git > > remote: Generating pack... > > remote: Done counting 442181 objects. > > remote: Deltifying 442181 objects. > > remote: 100% (442181/442181) done > > remote: Total 442181 (delta 353734), reused 424382 (delta 335945) > > Checking files out... > > 100% (21617/21617) done > > fujita at iris:/tmp$ cd linux-2.6-target/ > > fujita at iris:/tmp/linux-2.6-target$ git-branch > > * master > > origin > > sgv3 > > tgt > > fujita at iris:/tmp/linux-2.6-target$ git-checkout tgt > > fujita at iris:/tmp/linux-2.6-target$ grep sense_len include/scsi/scsi_tgt_if.h > > uint32_t sense_len; > > Tomo, > And I just tried it again: > > [root at target git]# git clone git://git.kernel.org/pub/scm/linux/kernel/git/tomo/linux-2.6-target.git linux-2.6-target > Initialized empty Git repository in /usr/src/git/linux-2.6-target/.git/ > remote: Generating pack... > remote: Done counting 442181 objects. > remote: Deltifying 442181 objects. > remote: 100% (442181/442181) done > Indexing 442181 objects. > remote: Total 442181 (delta 353734), reused 424382 (delta 335945) > 100% (442181/442181) done > Resolving 353734 deltas. > 100% (353734/353734) done > Checking files out... > 100% (21617/21617) done > > [root at target git]# cd linux-2.6-target > [root at target linux-2.6-target]# git branch > * master Sorry, I have no idea why it doesn't work for you. Anyway, you can use James' scsi-misc tree. BTW, I rebased my tree so it might work for you this time. |