]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commit
UBUNTU: SAUCE: make ASYNCB_INITIALIZED available for the kernel
authorAndrea Righi <andrea.righi@canonical.com>
Tue, 11 May 2021 07:30:51 +0000 (09:30 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 28 Jun 2021 06:04:00 +0000 (08:04 +0200)
commit746980625b5f91176ff6f5bbf1c0197e859757d3
tree004c823acc7359e225eb9e82ece16a58b254707c
parentd843e6994217d3a7328fee48c391bbcb9859dfeb
UBUNTU: SAUCE: make ASYNCB_INITIALIZED available for the kernel

The flag ASYNCB_INITIALIZED is required by our driver
ubuntu/xr-usb-serial. Make it available to kernel code to prevent the
following build failure:

 ./build/ubuntu/xr-usb-serial/xr_usb_serial_common.c:1613:15: error: 'ASYNCB_INITIALIZED' undeclared (first use in this function); did you mean 'RCU_INITIALIZER'?
  1613 |  if (test_bit(ASYNCB_INITIALIZED, &xr_usb_serial->port.flags))
       |               ^~~~~~~~~~~~~~~~~~
       |               RCU_INITIALIZER

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
include/uapi/linux/tty_flags.h