Fix spurious warning on install (5.05)
Brought to you by:
tytso
This is a patch to fix a small bug in setup.sh for
serial-5.05.
The setup.sh script run by "make install" has a bug in
the test to see if the currently running kernel was
compiled with CONFIG_MODVERSIONS. The bug occurs when
the kernel is _not_ compiled with CONFIG_MODVERSIONS.
The only effect of the bug is that the script outputs
an incorrect warning during the installation.
The bug is in the command
grep -q "kfree$$" /proc/ksyms
My patch changes this to
grep -q 'kfree$' /proc/ksyms
(The above command is embedded in a multi-line if
command.)
Patch to fix spurious warning on install for non-MODVERSIONS kernel (5.05)