getting warning when a method parameter in a kernel module is not used

Kevin Wilson wkevils at gmail.com
Thu Sep 24 10:25:15 EDT 2015


Hi,

When a method parameter in a kernel module is not used, we do not get
any warning (as opposed to a variable which is not used).

Is there any compilation flag which enables getting warning in such a case ?


Regards,
Kevin



More information about the Kernelnewbies mailing list