diff options
| author | 2026-08-17 22:50:16 +0200 | |
|---|---|---|
| committer | 2026-10-14 13:21:05 -0400 | |
| commit | a3d984253d238ca35cc94aaa7dddb41f14987b44 (patch) | |
| tree | 3d2aeec88db916b17ac277576d8a29d32ef32658 /scripts/Makefile.thinlto | |
| parent | Bluetooth: enable context analysis for headers (diff) | |
Bluetooth: hci_core: Return -ENOMEM when the sent_cmd clone fails
hci_send_cmd_sync() returns -EINVAL when skb_clone() fails for sent_cmd,
which describes an invalid argument rather than an allocation failure.
Return -ENOMEM instead. The only caller, hci_cmd_work(), tests the result
for zero, so there is no functional change.
Signed-off-by: Ibrahim Abdelkader <iabdelka@qti.qualcomm.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
