RE: [Bluez,v1,1/2] device: add device_remove_bonding function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While we are preparing for reviewing the patches, we found the following
issue/warning.

Test Result:
checkbuild Failed

Outputs:
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
profiles/input/device.c: In function ‘invalidate_bonding’:
profiles/input/device.c:154:24: error: passing argument 1 of ‘device_remove_bonding’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  154 |  device_remove_bonding(device_get_adapter(idev->device),
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        struct btd_adapter *
In file included from profiles/input/device.c:48:
./src/device.h:52:47: note: expected ‘struct btd_device *’ but argument is of type ‘struct btd_adapter *’
   52 | void device_remove_bonding(struct btd_device *device, uint8_t bdaddr_type);
      |                            ~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:8579: profiles/input/bluetoothd-device.o] Error 1
make: *** [Makefile:4010: all] Error 2



---
Regards,
Linux Bluetooth

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux