On Fri, Jul 27, 2012 at 09:30:57AM +0800, Ming Lei wrote: > No, the comment above is misleading and not useless, and I think the below > is good: > > * Asynchronous variant of request_firmware() for user contexts where > * it is not possible to sleep for long time or can't sleep at all, > depends
depending > * on the @gfp flag passed. > > Anyway, the original part of 'It can't be called in atomic contexts.' is wrong > and should be removed. I still don't like too much the "not possible to sleep for long time" expression. Maybe change it to "should sleep for as small periods as possible since it increases boot time of device drivers requesting firmware in their ->probe() methods." This way you explain exactly why - this way people who don't know the code will know exactly what the comments mean and what the intention was. Thanks. -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/