[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbbV_mCT-P6mK8=S4rR7=ZKV=LKYmoH1dGsG3PAR2HjaA@mail.gmail.com>
Date: Fri, 1 Dec 2023 14:19:10 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jorge Ramirez-Ortiz <jorge@...ndries.io>
Cc: ulf.hansson@...aro.org, adrian.hunter@...el.com,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCHv3] mmc: rpmb: fixes pause retune on all RPMB partitions.
On Fri, Dec 1, 2023 at 11:05 AM Jorge Ramirez-Ortiz <jorge@...ndries.io> wrote:
> 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 inadvertedly regressed the validation check done in
> mmc_blk_part_switch_pre() and mmc_blk_part_switch_post().
>
> This commit fixes that regression.
>
> Fixes: 97548575bef3 ("mmc: block: Convert RPMB to a character device")
> Signed-off-by: Jorge Ramirez-Ortiz <jorge@...ndries.io>
> Cc: <stable@...r.kernel.org> # v6.0+
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists