On Fri, Aug 21, 2009 at 05:02, <[email protected]> wrote: > Modified: trunk/drivers/i2c/busses/i2c-bfin-twi.c (7223 => 7224) > > +#ifdef DEBUG > + if (mast_stat & LOSTARB) > + dev_dbg(&iface->adap.dev, "Lost Arbitration\n"); > + if (mast_stat & ANAK) > + dev_dbg(&iface->adap.dev, "Address Not Acknowledged\n"); > + if (mast_stat & DNAK) > + dev_dbg(&iface->adap.dev, "Data Not Acknowledged\n"); > + if (mast_stat & BUFRDERR) > + dev_dbg(&iface->adap.dev, "Buffer Read Error\n"); > + if (mast_stat & BUFWRERR) > + dev_dbg(&iface->adap.dev, "Buffer Write Error\n"); > +#endif
why do you have the dedicated DEBUG ? the headers already handle macroing dev_dbg() to nothing if DEBUG isnt defined. -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
