[Stgt-devel] vtl patch.
Mark Harvey
markh794
Thu Apr 5 05:05:45 CEST 2007
Re-sending updated ssc3.c & smc.c in full.
Includes first couple of "improvements" pointed out by Ming.
- memory leak fixed.
- case insensitive compare.
The 3rd one (referenced below), I shall look at later on today.
Cheers
Mark Harvey
On 4/5/07, Mark Harvey <markh794 at gmail.com> wrote:
> On 4/5/07, Ming Zhang <blackmagic02881 at gmail.com> wrote:
> >
> > On Thu, 2007-04-05 at 09:56 +1000, Mark Harvey wrote:
> > > + .ops = {
> > > + {spc_test_unit,},
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> > > + {spc_request_sense,},
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> > > +
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> > > + {spc_illegal_op,},
> >
> > instead of having tons of these spc_illegal_op, can we have them by
> > default to be NULL and the caller check if NULL, if NULL call
> > spc_illegal_op directly?
> >
>
> I basically copied the sbc.c module and followed its syntax, and
> called/set all un-implemented routines to spc_illegal_op for the time
> being.
>
> But I like your suggestion.
>
> Cheers
> Mark
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssc3.c
Type: text/x-csrc
Size: 10615 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20070405/4fc217eb/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smc.c
Type: text/x-csrc
Size: 5804 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20070405/4fc217eb/attachment-0003.bin
More information about the stgt
mailing list