]> git.baikalelectronics.ru Git - kernel.git/commit
memstick/ms_block: Use the bitmap API when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 25 Jun 2022 12:56:05 +0000 (14:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Jul 2022 10:29:36 +0000 (12:29 +0200)
commit102a91784587247d34f9887889dc6745923009e7
treef5af2e6ec8253c6f2b41cbe13eb44e909080d063
parentc768972af4ad03995dd6c0877b08f98bc601dc10
memstick/ms_block: Use the bitmap API when applicable

Use bitmap_equal() instead of hand writing it. It improves semantic and
avoids some explicit computation to convert a number of bits to a number of
bytes.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/b216df8798f765ab14bce65739c220643320f376.1656155715.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/memstick/core/ms_block.c