[RFC] NULL pointer checking?

From: Geyslan GregÃrio Bem
Date: Thu Sep 26 2013 - 08:34:27 EST


I would like to know when to do the NULL pointer checking.

Calling functions from different modules?
Calling functions in the same module?
Check again, after calling an outside function that already verifies
the pointer?
Always?

Best Regards,

Geyslan GregÃrio Bem
hackingbits.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/