On Fri, Jan 17, 2020 at 08:34:32AM +0300, Dan Carpenter wrote: > The btrfs_alloc_dummy_device() function never returns NULL, it returns > error pointers. > > Fixes: 5d9a4f871168 ("btrfs: Add self-tests for btrfs_rmap_block") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Thanks, folded to the original patch.