Hello Andrea, or anyone else affected,

Accepted bcmwl into jammy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/bcmwl/6.30.223.271+bdcom-0ubuntu10~22.04.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: bcmwl (Ubuntu Jammy)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1981968

Title:
  bcmwl fails to build on the latest kinetic kernel 5.19

Status in bcmwl package in Ubuntu:
  Fix Released
Status in bcmwl source package in Jammy:
  Fix Committed
Status in bcmwl source package in Kinetic:
  Fix Released

Bug description:
  [Impact]

  bcmwl fails to build on kernel 5.19 with the following errors:

  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:603:14: 
error: implicit declaration of function ‘pci_alloc_consistent’; did you mean 
‘osl_dma_alloc_consistent’? [-Werror=implicit-function-declaration]
    603 |         va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap);
        |              ^~~~~~~~~~~~~~~~~~~~
        |              osl_dma_alloc_consistent

  
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:3307:26: 
error: implicit declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’? 
[-Werror=implicit-function-declaration]
   3307 |         wl_info_t * wl = PDE_DATA(file_inode(filp));
        |                          ^~~~~~~~
        |                          NODE_DATA

  
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In 
function ‘osl_dma_map’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:38: 
error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean 
‘DMA_TO_DEVICE’?
    626 |         dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: 
PCI_DMA_FROMDEVICE;
        |                                      ^~~~~~~~~~~~~~~~
        |                                      DMA_TO_DEVICE
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:38: 
note: each undeclared identifier is reported only once for each function it 
appears in
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:626:56: 
error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you 
mean ‘DMA_FROM_DEVICE’?
    626 |         dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: 
PCI_DMA_FROMDEVICE;
        |                                                        
^~~~~~~~~~~~~~~~~~
        |                                                        DMA_FROM_DEVICE
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:659:17: 
error: implicit declaration of function ‘pci_map_single’; did you mean 
‘dma_map_single’? [-Werror=implicit-function-declaration]
    659 |         return (pci_map_single(osh->pdev, va, size, dir));
        |                 ^~~~~~~~~~~~~~
        |                 dma_map_single
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In 
function ‘osl_dma_unmap’:
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:668:38: 
error: ‘PCI_DMA_TODEVICE’ undeclared (first use in this function); did you mean 
‘DMA_TO_DEVICE’?
    668 |         dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: 
PCI_DMA_FROMDEVICE;
        |                                      ^~~~~~~~~~~~~~~~
        |                                      DMA_TO_DEVICE
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:668:56: 
error: ‘PCI_DMA_FROMDEVICE’ undeclared (first use in this function); did you 
mean ‘DMA_FROM_DEVICE’?
    668 |         dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: 
PCI_DMA_FROMDEVICE;
        |                                                        
^~~~~~~~~~~~~~~~~~
        |                                                        DMA_FROM_DEVICE
  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:669:9: 
error: implicit declaration of function ‘pci_unmap_single’; did you mean 
‘dma_unmap_single’? [-Werror=implicit-function-declaration]
    669 |         pci_unmap_single(osh->pdev, (uint32)pa, size, dir);
        |         ^~~~~~~~~~~~~~~~
        |         dma_unmap_single

  
  [Test case]

  $ sudo apt install bcmwl-kernel-source

  [Fix]

  Patch bcmwl to support the new 5.18+ kernel ABI (PCI/DMA-related
  functions).

  [Regression potential]

  We may experience regressions with bcmwl in kernels >= 5.18.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1981968/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to