]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Calculate size from pointer
authorRiyan Dhiman <riyandhiman14@gmail.com>
Sun, 1 Sep 2024 17:33:09 +0000 (23:03 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 3 Sep 2024 12:31:18 +0000 (14:31 +0200)
commitd2253bfa830e907eddad13d9de99d7b6df8585a1
treee5112c71352a5840c413be6ed39ff2b6b3d58ccd
parent03117a4934d6ea3cc9c84baf80c05322485a2b5a
mmc: core: Calculate size from pointer

Calculate the size from pointer instead of
struct to adhere to linux kernel coding style.

Issue reported by checkpatch.

This commit has no functional changes.

Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
Link: https://lore.kernel.org/r/20240901173309.7124-1-riyandhiman14@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c