Merged requested to merge github/fork/etienne-lms/clk into master
Created by: etienne-lms
Adds explicit casts where compiler reports issues.
Prevents module_ctx variable being exported outside the scope clock module source file.
Adds braces around a conditioned a multi-line instruction block: consider inline comment a part of the instruction block.
Signed-off-by: Etienne Carriere firstname.lastname@example.org