Pascal Hahn <> writes:

> I can't see any of the expected mantis_ca_init but couldn't figure out
> in the code where that gets called.

I don't think it is.  It was at some point, but it seems to be removed.
Most likely because it wasn't considered ready at the time this driver
was merged(?)

BTW, there is a potentional null dereference in mantis_irq_handler(),
which will do

        ca = mantis->mantis_ca;
        if (stat & MANTIS_INT_IRQ0) {
                dprintk(MANTIS_DEBUG, 0, "<%s>", label[1]);
                mantis->gpif_status = rst_stat;

This will blow up if (stat & MANTIS_INT_IRQ0) is true, since
mantis->mantis_ca never is allocated.  But then I guess that the
hardware should normally prevent (stat & MANTIS_INT_IRQ0) from being
true as long as the ca system isn't initiated, so this does not pose a
problem in practice.

Still doesn't look good.


To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to
More majordomo info at

Reply via email to