diff options
| author | 2025-09-11 23:06:06 +0200 | |
|---|---|---|
| committer | 2025-09-12 15:09:53 +0200 | |
| commit | ce7d8a3e19e7f62060b31d401339b81458587ce2 (patch) | |
| tree | 345bacce236b9b6e6c8dbdeef6778711ea8a464e /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | mmc: core: Fix variable shadowing in mmc_route_rpmb_frames() (diff) | |
| download | wireguard-linux-ce7d8a3e19e7f62060b31d401339b81458587ce2.tar.xz wireguard-linux-ce7d8a3e19e7f62060b31d401339b81458587ce2.zip | |
mmc: core: Improve RPMB frame handling code
Introduce RPMB_FRAME_SIZE, CHECK_SIZE_NEQ(), and CHECK_SIZE_ALIGNED()
macros to replace repetitive sizeof(struct rpmb_frame) checks in
mmc_route_rpmb_frames().
Signed-off-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Avri Altman <avri.altman@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
