On Wed, Sep 27, 2017 at 1:35 PM, Adrian Hunter <adrian.hunter@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html