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)

From: Eric Valette
Date: Wed Mar 27 2024 - 10:41:02 EST


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/20240326164317.1460864-1-luiz.dentz@xxxxxxxxx/

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