OK, I think the attached patch fixes the try_module_get problem and also sweeps up a compile warning issue I ran into on pa-risc. Does this look OK to everyone? James