Re: [PATCH 0/2] scsi: ufs: fix an RPMB teardown cycle and a shift UB
From: shao.mingyin
Date: Tue Nov 03 2026 - 14:01:54 EST
On 11/3/26 09:51, Bart Van Assche wrote:
> This series no longer applies. Please rebase it on top of Martin's
> for-next branch.
Done, thanks. The problem was the base-commit: v1 was generated against
linux-next next-20261030 (7649ba73f9e7), which is not an ancestor of
for-next, so b4 refused to apply it.
I rebased both patches onto for-next (v7.4-rc1, 6628e7d4c6b2) and resent
them as v2:
https://lore.kernel.org/all/202611040259247915t_cYYK0k5pPbEqfdTAQu@xxxxxxxxxx/
The hunks are unchanged. While testing patch 1 I also confirmed that the
teardown path only becomes reachable once the "scsi: ufs: rpmb: register
and unregister the ufs_rpmb bus" patch lands: without it device_register()
fails with -EINVAL. On top of that patch, a synthetic hba on QEMU shows
the rpmb0 class device surviving ufs_rpmb_remove() before the fix and
disappearing after it.
Thanks,
Shao