Yeah, that's tricky and I don't have an answer but marking things as const is a worth while in itself because it makes static some analysis easier. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html