[RESEND][PATCH 0/3] module: Do not paper over type mismatches in module_param_call()

From: Kees Cook
Date: Tue Oct 17 2017 - 22:04:52 EST


(re-sending to Jessica's @korg address...)

The module_param_call() macro was explicitly casting the .set and .get
function prototypes away with (void *). This can lead to hard-to-find
type mismatches. Additionally, it creates problems for static checkers
and Control Flow Itegrity compiler features, which depend on clustering
function call sites based on prototype signature.

This removes the casts and fixes all the incorrect prototypes tree-wide.

-Kees