Isn't it a bit difficult to get "file and line number" information?
Personally, I liked the approach that I saw in a recent 2.1 kernel:
if (code has done somthing wrong)
I've forgotten where it was now, but it definitely made sure the offending
code was fixed :)