On 9/5/2012 10:03 PM, Stephen Hemminger wrote: > On Wed, 5 Sep 2012 18:03:59 +0530 > Naresh Kumar Inna <naresh@xxxxxxxxxxx> wrote: > >> + >> +#define CSIO_ASSERT(cond) \ >> +do { \ >> + if (unlikely(!((cond)))) \ >> + BUG(); \ >> +} while (0) >> + > > Why is this not just BUG_ON(!(cond)) ? > I will replace the 2 lines in the macro with BUG_ON() as you have suggested. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html