upstream stable would break ubuntu/xr-usb-serial (deprecated ASYNC flags)

Bug #1929452 reported by Kamal Mostafa
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned
Bionic
Confirmed
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Groovy
Confirmed
Undecided
Unassigned
Hirsute
Confirmed
Undecided
Unassigned
Impish
Won't Fix
Medium
Unassigned

Bug Description

The Ubuntu kernel has carried an out-of-tree driver "ubuntu/xr-usb-serial/" since forever. That driver uses the #define'd constant ASYNCB_INITIALIZED in multiple places, e.g.:

    if (test_bit(ASYNCB_INITIALIZED, &xr_usb_serial->port.flags))

But this recent mainline commit (and all linux-stable's >= 4.14) removes the definition of ASYNCB_INITIALIZED ...

    [mainline] d09845e98a05 tty: actually undefine superseded ASYNC flags

    Some kernel-internal ASYNC flags have been superseded by tty-port flags
    and should no longer be used by kernel drivers.

    Fix the misspelled "__KERNEL__" compile guards which failed their sole
    purpose to break out-of-tree drivers that have not yet been updated.

... Which would make ubuntu/xr-usb-serial/ fail to build (as the upstream commit intends).

To avoid that breakage, the stable backports of [mainline] d09845e98a05 will be omitted from all Ubuntu kernels, pending some other resolution of the problem with ubuntu/xr-usb-serial.

Revision history for this message
Colin Finck (colinfinck) wrote :

I had the same problem with that driver and fixed it in the driver.
Feel free to use my patch for that: https://github.com/enlyze/xr-usb-serial/commit/6515173a8b2681fd52cc2747d7282f4e47bdd254

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu Bionic):
status: New → Confirmed
Changed in linux (Ubuntu Focal):
status: New → Confirmed
Changed in linux (Ubuntu Groovy):
status: New → Confirmed
Changed in linux (Ubuntu Hirsute):
status: New → Confirmed
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 21.10 (Impish Indri) has reached end of life, so this bug will not be fixed for that specific release.

Changed in linux (Ubuntu Impish):
status: Confirmed → Won't Fix
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.