]> 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)
commitd7c7f14439ccd0894a56478dd759ba87d50155c3
treef8ec97a9952d2ffe4346772fa79abde4256f1721
parent0cc64fcac4a230d1924ed3d552ffdffe5a75f56d
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