From: Vladislav B. <vs...@vl...> - 2006-04-11 15:59:29
|
Thanks! Thanks also to C language, in which compilation symbol (DEBUG) with an undefined value suddenly became an integer with a value. I've put the fixed version on the sf.net page. Vlad Ming Zhang wrote: > thx for new release. > > seems this is broken. try to fix it. > > Index: src/scst_priv.h > =================================================================== > --- src/scst_priv.h (revision 80) > +++ src/scst_priv.h (working copy) > @@ -374,7 +374,7 @@ static inline void __scst_block_dev(stru > { > dev->block_count++; > smp_mb(); > - TRACE(DEBUG, "Device BLOCK (%d)", dev->block_count); > + TRACE_DBG("Device BLOCK (%d)", dev->block_count); > } > > static inline void scst_block_dev(struct scst_device *dev, > @@ -393,7 +393,7 @@ static inline void scst_block_dev(struct > static inline void scst_unblock_dev(struct scst_device *dev) > { > spin_lock_bh(&dev->dev_lock); > - TRACE(DEBUG, "Device UNBLOCK (%d)", dev->block_count-1); > + TRACE_DBG("Device UNBLOCK (%d)", dev->block_count-1); > if (--dev->block_count == 0) > scst_unblock_cmds(dev); > spin_unlock_bh(&dev->dev_lock); > Index: src/scst_targ.c > =================================================================== > --- src/scst_targ.c (revision 80) > +++ src/scst_targ.c (working copy) > @@ -722,7 +722,7 @@ static void scst_check_sense(struct scst > TRACE_ENTRY(); > > dbl_ua_possible = dev->dev_double_ua_possible; > - TRACE(DEBUG, "cmd %p cmd->blocking %d dbl_ua_possible %d", cmd, > + TRACE_DBG("cmd %p cmd->blocking %d dbl_ua_possible %d", cmd, > cmd->blocking, dbl_ua_possible); > if (unlikely(dbl_ua_possible)) { > spin_lock_bh(&dev->dev_lock); > > > On Mon, 2006-04-10 at 22:15 +0400, Vladislav Bolkhovitin wrote: > >>They are available for download form the project page >>http://sourceforge.net/projects/scst >> >>Please let me know if something is broken. >> >>Vlad >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Scst-devel mailing list >>Scs...@li... >>https://lists.sourceforge.net/lists/listinfo/scst-devel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Scst-devel mailing list > Scs...@li... > https://lists.sourceforge.net/lists/listinfo/scst-devel > |