]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_string.c: allow module removal
authorMatteo Croce <mcroce@microsoft.com>
Thu, 1 Jul 2021 01:56:07 +0000 (18:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Jul 2021 18:06:05 +0000 (11:06 -0700)
commite4fada7eac5dd5c6f619a54bcca1946b8e3c4b73
tree1756f02a78908836916af15d5342a01c3a24f448
parentc54bb945486357d7531ff5b3f07623e5a9f7667f
lib/test_string.c: allow module removal

The test_string module can't be removed because it lacks an exit hook.
Since there is no reason for it to be permanent, add an empty one to allow
module removal.

Link: https://lkml.kernel.org/r/20210616234503.28678-1-mcroce@linux.microsoft.com
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_string.c