]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: core: Optimize size of struct mmc_queue_req
authorBin Liu <b-liu@ti.com>
Thu, 2 Apr 2026 12:31:55 +0000 (07:31 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 9 Apr 2026 15:49:54 +0000 (17:49 +0200)
commit5fa0e32ed4f4a8a62998d0c955311cbfe92919af
treec720f59d97ede1784d0f9b664868f0cc054e77a4
parentf924224650e6e8fc79609218c5cf67d5988d733a
mmc: core: Optimize size of struct mmc_queue_req

ioc_count won't be more than MMC_IOC_MAX_CMDS (255), retries won't be more
than MMC_NO_RETRIES (6), flags is newly introduced and uses only 1 bit.
Therefore let's change them all to become u8.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/queue.h