On Thu, 07 Mar 2024, Jani Nikula <jani.nik...@intel.com> wrote:
> Switch to drm device based logging and WARNs, and unify connector and
> crtc logging formats. Pass drm device around a bit more to be able to do
> this.

Forgot to mention that I also stop logging about -ENOMEM, instead of
converting that over to drm device based logging.

> @@ -813,7 +824,6 @@ int drm_client_modeset_probe(struct drm_client_dev 
> *client, unsigned int width,
>       offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL);
>       enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL);
>       if (!crtcs || !modes || !enabled || !offsets) {
> -             DRM_ERROR("Memory allocation failed\n");
>               ret = -ENOMEM;
>               goto out;
>       }

-- 
Jani Nikula, Intel

Reply via email to