Umm. And what do you think the test for drv->entry.next is there for?
Ie the assumption is that it's at least zeroed out, if it's not
Now, admittedly it could be *total* crud, but if so, I'd seriously suggest
just fixing the callers, rather than passing totally uninitialized
structures with random crap in it around.