Re: [PATCH] init/main.c: silence some -Wunused-parameter warnings

From: Andrew Morton
Date: Thu May 20 2021 - 00:38:11 EST


On Wed, 19 May 2021 11:23:41 -0500 Andrew Halaney <ahalaney@xxxxxxxxxx> wrote:

> There's a bunch of callbacks with unused arguments, go ahead and silence
> those so "make KCFLAGS=-W init/main.o" is a little quieter.
> Here's a little sample:

Do we care about -Wunused-parameter? I suppose we do, as it might
point us at small code optimizations.

How voluminous is the warning output from -Wunused-parameter? Small
enough to be useful or large enough to be useless?