2024-03-27 16:14:16

by Eric Valette

[permalink] [raw]
Subject: your recently submitted patch to fix BT RIP error shall be applied to 6.6 stable (I have a systematic crash on reboot in 6.6.23)

hci_cmd_sync_cancel_sync shall check the error passed to it since it
will be propagated using req_result which is __u32 it needs to be
properly set to a positive value if it was passed as negative othertise
IS_ERR will not trigger as -(errno) would be converted to a positive
value.

https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/

On my MSI laptop, on coldboot I have no bt errors but when I restart I
alway get qeveral (firmware download error, ...). Without your proposed
patch, I get a systematic RIP when rebooting, and after the laptop does
not properly shutdown.

Your patch applies with offsets.

-- eric