diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2021-12-07 12:54:19 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-12-08 05:38:03 +0100 |
commit | 51a08bdeca27988a17c87b87d8e64ffecbd2a172 (patch) | |
tree | 19bf0ad3dc7cb15e3bb208a142bcbe7b1119fa8d /scripts/modules-check.sh | |
parent | Linux 5.16-rc4 (diff) | |
download | linux-51a08bdeca27988a17c87b87d8e64ffecbd2a172.tar.xz linux-51a08bdeca27988a17c87b87d8e64ffecbd2a172.zip |
cifs: Fix crash on unload of cifs_arc4.ko
The exit function is wrongly placed in the __init section and this leads
to a crash when the module is unloaded. Just remove both the init and
exit functions since this module does not need them.
Fixes: 71c02863246167b3d ("cifs: fork arc4 and create a separate module...")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.15
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions