kmodloader: support '-q' quiet option
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sun, 29 Jan 2017 09:23:15 +0000 (09:23 +0000)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 Feb 2017 10:23:14 +0000 (11:23 +0100)
commitac2d43e7c84fa3041ee2bf5709fdf69352189317
tree7dc424a96e38f0e625284c13cf036af4a7cb1209
parentf8d3d1672a3ad901f0cb1ad0418cd9547450c125
kmodloader: support '-q' quiet option

The kernel opportunistically attempts to load modules in advanced with
'predicted' module names.  Often these modules don't exist and hence
kmodloader produces lots of logfile noise.  The kernel commandline to
modprobe from kworker proceses is '-q -- modulename' where '-q' means
quiet. Support suppressing that noise.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
kmodloader.c