This commit checks if a function is marked with the naked attribute and,
if it is, will silence the emission of any unused-parameter warning.
Inside a naked function only the usage of basic ASM instructions is expected. In this context the parameters can actually be used by fetching them according to the underlying ABI. Since parameters might be used through ASM instructions, the linter and the compiler will have a hard time understanding if one of those is unused or not, therefore no unused-parameter warning should ever be triggered whenever a function is marked naked.
Something along these lines should work instead (you'll have to reformat though).