]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_bitops: do the full test during module init
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 12 Aug 2020 01:34:38 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:59 +0000 (10:57 -0700)
commit8e325bf688bc9ad8610ba5183b426bfb979e3083
treeba2cae5b19454dc4953cb5f7ea2cd0259c73cde4
parent94b2014f0b93ea5a3dc2911c82b79263548f2e4c
lib/test_bitops: do the full test during module init

Currently, the bitops test consists of two parts: one part is executed
during module load, the second part during module unload.  This is
cumbersome for the user, as he has to perform two steps to execute all
tests, and is different from most (all?) other tests.

Merge the two parts, so both are executed during module load.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Link: http://lkml.kernel.org/r/20200706112900.7097-1-geert@linux-m68k.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_bitops.c