Consider heavily commenting the code in the patch.
A patch can be then verified, such that:
a) comments in the patch make sense (patch code)
b) comments in the whole context make sense (patched code)
c) patched code actually does what is described in the comments
This means more work for the patch author. On the other hand, it also means:
a) that the author of the patch knows what he wants the code to do; he
describes it in sufficient deatil in the comments
b) since the code is now better commented, it's easier to understand, verify
and modify
Andrej
-- Andrej Presern, andrejp@luz.fe.uni-lj.si- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/