Message ID | 20240112165601.134073-2-silviu.barbulescu@nxp.com |
---|---|
State | Superseded |
Headers | show |
Series | Add code to support dynamically generated BASE | expand |
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. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=816562 ---Test result--- Test Summary: CheckPatch PASS 0.94 seconds GitLint FAIL 0.75 seconds BuildEll PASS 23.78 seconds BluezMake PASS 699.11 seconds MakeCheck PASS 12.07 seconds MakeDistcheck PASS 162.41 seconds CheckValgrind PASS 224.21 seconds CheckSmatch PASS 324.51 seconds bluezmakeextell PASS 105.88 seconds IncrementalBuild PASS 1312.26 seconds ScanBuild PASS 957.33 seconds Details ############################## Test: GitLint - FAIL Desc: Run gitlint Output: [BlueZ,v2,1/2] shared/bap: Fix dereference of null pointer WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search 4: B3 Line contains hard tab characters (\t): "src/shared/bap.c bt_bap_stream_new" --- Regards, Linux Bluetooth
diff --git a/src/shared/bap.c b/src/shared/bap.c index 078d308dc..49eb8d057 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -4763,7 +4763,7 @@ struct bt_bap_stream *bt_bap_stream_new(struct bt_bap *bap, return NULL; bt_bap_foreach_pac(bap, type, match_pac, &match); - if (!match.lpac) + if ((!match.lpac) || (!lpac)) return NULL; if (!match.rpac && (lpac->type != BT_BAP_BCAST_SOURCE)) return NULL;