Linus Torvalds writes: (Summary) However, looking at the non-arm changes, I noticed this:
static inline int irq_is_percpu_devid(unsigned int irq)
...
return desc->status_use_accessors & It may even *work*, because maybe that "percpu" flag ends up not being all that important, or it just happens to never be set on the particular hardware that people end up testing.
hardware that people end up testing.
But while it looks obviously correct, and might even work, it's really fundamentally broken. Because that "true or false" function didn't
return desc->status_use_accessors & It may even *work*, because maybe that "percpu" flag ends up not being all that important, or it just happens to never be set on the particular hardware that people end up testing.
hardware that people end up testing.
But while it looks obviously correct, and might even work, it's really fundamentally broken. Because that "true or false" function didn't
actually return 0/1, it returned 0 or 0x20000.