]> git.baikalelectronics.ru Git - kernel.git/commit
md: Convert to use int_pow()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2019 20:41:55 +0000 (23:41 +0300)
committerSong Liu <songliubraving@fb.com>
Wed, 7 Aug 2019 17:25:02 +0000 (10:25 -0700)
commitb4355b2db2a59168b1baf668ee0b8b97efadee01
treef8ec97a9952d2ffe4346772fa79abde4256f1721
parent4b94807d5badae1a15a10ed252b5ae6c56fcc421
md: Convert to use int_pow()

Instead of linear approach to calculate power of 10, use generic int_pow()
which does it better.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md.c