Re: linux-next: build failure after merge of the drm-misc tree

Dmitry Baryshkov
2026-01-19T23:09:41Z

On Mon, Jan 19, 2026 at 05:37:48PM +0000, Mark Brown wrote:
> Hi all,
>
> After merging the drm-misc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> /tmp/next/build/drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c: In function 'drm_test_check_reject_hdr_infoframe_bpc_10':
> /tmp/next/build/drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c:2926:49: error: passing argument 6 of 'drm_property_replace_blob_from_id' makes integer from pointer without a cast [-Wint-conversion]
> 2926 | &replaced);
> | ^~~~~~~~~
> | |
> | bool * {aka _Bool *}
> In file included from /tmp/next/build/include/drm/drm_connector.h:33,
> from /tmp/next/build/include/drm/drm_modes.h:33,
> from /tmp/next/build/include/drm/drm_crtc.h:32,
> from /tmp/next/build/include/drm/drm_atomic.h:31,
> from /tmp/next/build/drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c:7:
> /tmp/next/build/include/drm/drm_property.h:287:47: note: expected 'ssize_t' {aka 'long int'} but argument is of type 'bool *' {aka '_Bool *'}
> 287 | ssize_t max_size,
> | ~~~~~~~~^~~~~~~~
> /tmp/next/build/drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c:2922:15: error: too few arguments to function 'drm_property_replace_blob_from_id'
> 2922 | ret = drm_property_replace_blob_from_id(drm,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/include/drm/drm_property.h:282:5: note: declared here
> 282 | int drm_property_replace_blob_from_id(struct drm_device *dev,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 7436a87db99d5 (drm/tests: hdmi: check the infoframes behaviour)
>
> interacting with
>
> ca59e33f5a1f6 (drm/atomic: add max_size check to drm_property_replace_blob_from_id())
>
> I have applied a fixup:

This fixup is correct. I've sent a formal patch,

https://lore.kernel.org/all/20260119-fix-kunit-infoframe-v1-1-5f2f9b066594@oss.qualcomm.com/

>

--
With best wishes
Dmitry