I found the problem, it's the "whole_disk" partition attribute.
Look in fs/partitions/check.c:add_partition() where it tests the
ADDPART_FLAG_WHOLEDISK flag.
I think that code block needs to be updated to match the rest of the
changes in the offending changeset we are discussing.
--