evdi-dkms DKMS FTBFS wrt Linux 6.3

Bug #2023755 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evdi (Ubuntu)
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

evdi-dkms FTBFS wrt Linux 6.3:

...
/home/ubuntu/dkms/evdi/evdi-1.12.0+dfsg/module/evdi_encoder.c: In function ‘evdi_encoder_init’:
/home/ubuntu/dkms/evdi/evdi-1.12.0+dfsg/module/evdi_encoder.c:52:34: error: invalid application of ‘sizeof’ to incomplete type ‘struct drm_encoder’
   52 | encoder = kzalloc(sizeof(struct drm_encoder), GFP_KERNEL);
      | ^~~~~~
/home/ubuntu/dkms/evdi/evdi-1.12.0+dfsg/module/evdi_encoder.c:56:15: error: implicit declaration of function ‘drm_encoder_init’; did you mean ‘evdi_encoder_init’? [-Werror=implicit-function-declaration]
   56 | ret = drm_encoder_init(dev, encoder, &evdi_enc_funcs,
      | ^~~~~~~~~~~~~~~~
      | evdi_encoder_init
/home/ubuntu/dkms/evdi/evdi-1.12.0+dfsg/module/evdi_encoder.c:63:9: error: implicit declaration of function ‘drm_encoder_helper_add’ [-Werror=implicit-function-declaration]
   63 | drm_encoder_helper_add(encoder, &evdi_enc_helper_funcs);
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/dkms/evdi/evdi-1.12.0+dfsg/module/evdi_encoder.c:65:16: error: invalid use of undefined type ‘struct drm_encoder’
   65 | encoder->possible_crtcs = 1;
      | ^~
...

[Fix]

Apply the attached patch.

[How to test]

Install the packet.

[Regression potential]

None, the fix is conditionally compiled thus doesn't affect anything below Linux 6.3.

Tags: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evdi - 1.12.0+dfsg-0.3ubuntu3

---------------
evdi (1.12.0+dfsg-0.3ubuntu3) mantic; urgency=medium

  * Fix for Linux 6.3 fix (LP: #2023755)
    - debian/patches/Support-for-6.3-kernel.patch

 -- Paolo Pisati <email address hidden> Wed, 14 Jun 2023 09:31:43 +0000

Changed in evdi (Ubuntu Mantic):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.