Hi Greg! On Wed, 28 Jan 2004, Greg KH wrote: > On Wed, Jan 28, 2004 at 05:42:11PM -0200, Marcelo Tosatti wrote: > > > > - Mark pci_device_id list with __devinitdata > > Noooo!!! I think we've finally audited all uses of this. Do not do > this please, it is wrong for 2.6. [root _at_ yage wan]# pwd /root/linux-2.6.1/drivers/net/wan [root _at_ yage wan]# grep __devexit_p * dscc4.c: .remove = __devexit_p(dscc4_remove_one), farsync.c: .remove = __devexit_p(fst_remove_one), So this ones are wrong too I assume? Mind explaining me what is the deal with __devexit_p() in 2.6? > > - Add #ifdef DEBUG around debug printk() > > What's wrong with dev_dbg()? It gives you a much better idea of which > device is spitting out the messages. Indeed, dev_dbg() is fine. I will replace all #ifdef DEBUG entries in the driver with dev_dgb(...). Thanks for the hint. Linus, hold the patch :) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- [PATCH] PC300 updateMarcelo Tosatti
- Re: [PATCH] PC300 updateGreg KH
- Prev by Date: Re: [BK PATCH] i2c driver fixes for 2.6.2-rc2
- Next by Date: Re: [PATCH] PC300 update
- Previous by thread: Re: [PATCH] PC300 update
- Next by thread: [PATCH] PC300 update
- Indexes:[Main][Thread]