Re: [PATCH 1/2 v6] mmc: block: Convert RPMB to a character device

Linus Walleij
2017-09-27T19:45:58Z

On Wed, Sep 27, 2017 at 1:35 PM, Adrian Hunter <adrian.hunter@intel.com> wrote:
>
> BUG when removing, fixed by reverting this patch.
>
> [ 346.548512] mmc1: card 0001 removed
> [ 346.552782] BUG: unable to handle kernel NULL pointer dereference at 0000000000000070

How did you achieve this? I need to reproduce it.

RPMB is only available on eMMC cards and I don't have a removable eMMC
card since by definition they are soldered on.

Does it happen on an ordinary MMC card without RPMB?

I'm sorry if I'm ignorant of something very obvious here...

I will read the code and see if I'm missing something obvious.

Yours,
Linus Walleij