summaryrefslogtreecommitdiff
path: root/include/linux/devcoredump.h
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge@foundries.io>2023-12-01 16:31:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-10 14:45:41 +0100
commitb8221ff394b7b528a5cd2fb6b73786bd709d84b9 (patch)
treea68ddc37ef2db1a65382fd5dcd03e432b8b3866c /include/linux/devcoredump.h
parentba6779d68c10c3a7a66a3e00bced3be94ace536d (diff)
mmc: rpmb: fixes pause retune on all RPMB partitions.
commit e7794c14fd73e5eb4a3e0ecaa5334d5a17377c50 upstream. When RPMB was converted to a character device, it added support for multiple RPMB partitions (Commit 97548575bef3 ("mmc: block: Convert RPMB to a character device"). One of the changes in this commit was transforming the variable target_part defined in __mmc_blk_ioctl_cmd into a bitmask. This inadvertently regressed the validation check done in mmc_blk_part_switch_pre() and mmc_blk_part_switch_post(), so let's fix it. Fixes: 97548575bef3 ("mmc: block: Convert RPMB to a character device") Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20231201153143.1449753-1-jorge@foundries.io Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/devcoredump.h')
0 files changed, 0 insertions, 0 deletions