Re: [RFC PATCH v3] drivercore: Add driver probe deferral mechanism

From: Grant Likely
Date: Tue Sep 27 2011 - 17:18:58 EST


On Tue, Sep 27, 2011 at 03:50:36PM +0200, Arnd Bergmann wrote:
> On Monday 26 September 2011, Grant Likely wrote:
> > Actually, in the next iteration, I'm thinking it would be a good idea
> > to create a new #define to only be used by probe deferral. I want it
> > to be easy to find all the drivers that are using this mechanism
> > without needing to filter all the unrelated hits. However, this is a
> > kernel-only thing so it is probably not appropriate to add it to
> > include/asm-generic/errno.h. I could use some guidance/advice as to
> > the best way to handle this.
>
> include/linux/errno.h already has a bunch of kernel-internal error
> codes that are never supposed to be seen in user space. Just
> add one there, the next free one right now is 517, after
> ERESTART_RESTARTBLOCK.

Okay, will do. How does EPROBE_DEFER 518 sound?

g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/