rtl8821ce-dkms fails to build on kinetic with the latest 5.19 kernel

Bug #1982080 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rtl8821ce (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

rtl8821ce-dkms fails to build on a 5.19 kernel with the following errors:

/var/lib/dkms/rtl8821ce/5.5.2.1/build/os_dep/linux/pci_intf.c: In function ‘pci_dvobj_init’:
/var/lib/dkms/rtl8821ce/5.5.2.1/build/os_dep/linux/pci_intf.c:1209:22: error: implicit declaration of function ‘pci_set_dma_mask’ [-Werror=implicit-function-declaration]
 1209 | if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
      | ^~~~~~~~~~~~~~~~
/var/lib/dkms/rtl8821ce/5.5.2.1/build/os_dep/linux/pci_intf.c:1210:31: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
 1210 | err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

[Test case]

$ sudo apt install rtl8821ce-dkms

[Fix]

Provide the proper PCI / DMA interface to support the new 5.19 kernel ABI.

[Regression potentials]

We may experience regressions in kernels >= 5.19 that are using this dkms.

Tags: patch
Revision history for this message
Andrea Righi (arighi) wrote :

Fix (debdiff) to support linux 5.19 in attach.

tags: added: patch
Changed in rtl8821ce (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rtl8821ce - 5.5.2.1-0ubuntu11

---------------
rtl8821ce (5.5.2.1-0ubuntu11) kinetic; urgency=medium

  * Linux 5.19 compatibility (LP: #1982080):
    - debian/patches/0020-support-linux-5.19.patch

 -- Andrea Righi <email address hidden> Tue, 19 Jul 2022 07:33:49 +0000

Changed in rtl8821ce (Ubuntu):
status: Fix Committed → 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.