| title: | Re CI Module not working on Technisat Cables |
|
Pascal Hahn <derpassi@xxxxxxxxx writes:
I cant see any of the expected mantis_ca_init but couldnt figure out
in the code where that gets called.
I dont think it is. It was at some point, but it seems to be removed.
Most likely because it wasnt 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;
wake_up(&ca- hif_write_wq);
schedule_work(&ca- hif_evm_work);
}
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 isnt initiated, so this does not pose a
problem in practice.
Still doesnt look good.
Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
|