Yes, that's what I have done in the past ... but putting it into the QA
testing would really trigger those stack overflow problems... ;-)
I was wondering if we'd need to be able to default a cpumask_t pointer
argument to be a const and then use a different method for those cases
where it shouldn't be? This would strengthen the compiler type checking
of functions calls.
For example:
proto(cpumask_t mask)
would imply that *mask is a const, whereas
proto(cpumask_var mask)
would indicate it to be non-const?
But then we couldn't use "cpumask_t" as a local declarator... So perhaps
we need something completely different for declaring cpumask arguments?
(I'm trying to figure out how to structure this with the least amount of
source editing.)
Thanks!
Mike
--