Message ID | 20240515070657.85132-2-neeraj.sanjaykale@nxp.com |
---|---|
State | Accepted |
Commit | 4541b49528d1014d12f6b3e9a62cdc5ef8d1273e |
Headers | show |
Series | Enable status prints for firmware download | 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=853314 ---Test result--- Test Summary: CheckPatch PASS 2.18 seconds GitLint FAIL 1.14 seconds SubjectPrefix PASS 0.35 seconds BuildKernel PASS 30.80 seconds CheckAllWarning PASS 33.53 seconds CheckSparse PASS 39.12 seconds CheckSmatch FAIL 35.57 seconds BuildKernel32 PASS 28.60 seconds TestRunnerSetup PASS 519.51 seconds TestRunner_l2cap-tester FAIL 23.08 seconds TestRunner_iso-tester FAIL 38.16 seconds TestRunner_bnep-tester PASS 4.67 seconds TestRunner_mgmt-tester FAIL 113.69 seconds TestRunner_rfcomm-tester PASS 7.30 seconds TestRunner_sco-tester FAIL 17.39 seconds TestRunner_ioctl-tester PASS 7.68 seconds TestRunner_mesh-tester PASS 5.79 seconds TestRunner_smp-tester PASS 6.74 seconds TestRunner_userchan-tester PASS 4.87 seconds IncrementalBuild PASS 35.92 seconds Details ############################## Test: GitLint - FAIL Desc: Run gitlint Output: [v1,1/3] Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush() 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 8: B1 Line exceeds max length (99>80): "[ 54.634586] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000080" 22: B1 Line exceeds max length (391>80): "[ 54.710152] Modules linked in: btnxpuart(-) overlay fsl_jr_uio caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic snd_soc_imx_spdif snd_soc_imx_card snd_soc_ak5558 snd_soc_ak4458 caam secvio error snd_soc_fsl_micfil snd_soc_fsl_spdif snd_soc_fsl_sai snd_soc_fsl_utils imx_pcm_dma gpio_ir_recv rc_core sch_fq_codel fuse" 23: B1 Line exceeds max length (88>80): "[ 54.744357] CPU: 3 PID: 72 Comm: kworker/u9:0 Not tainted 6.6.3-otbr-g128004619037 #2" ############################## Test: CheckSmatch - FAIL Desc: Run smatch tool with source Output: Segmentation fault (core dumped) make[4]: *** [scripts/Makefile.build:244: net/bluetooth/hci_core.o] Error 139 make[4]: *** Deleting file 'net/bluetooth/hci_core.o' make[3]: *** [scripts/Makefile.build:485: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:485: net] Error 2 make[2]: *** Waiting for unfinished jobs.... Segmentation fault (core dumped) make[4]: *** [scripts/Makefile.build:244: drivers/bluetooth/bcm203x.o] Error 139 make[4]: *** Deleting file 'drivers/bluetooth/bcm203x.o' make[4]: *** Waiting for unfinished jobs.... make[3]: *** [scripts/Makefile.build:485: drivers/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:485: drivers] Error 2 make[1]: *** [/github/workspace/src/src/Makefile:1919: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: TestRunner_l2cap-tester - FAIL Desc: Run l2cap-tester with test-runner Output: Total: 55, Passed: 53 (96.4%), Failed: 2, Not Run: 0 Failed Test Cases L2CAP BR/EDR Client - TX Timestamping Timed out 2.411 seconds L2CAP LE Client - TX Timestamping Timed out 2.236 seconds ############################## Test: TestRunner_iso-tester - FAIL Desc: Run iso-tester with test-runner Output: Total: 122, Passed: 118 (96.7%), Failed: 4, Not Run: 0 Failed Test Cases ISO Send - TX Timestamping Timed out 1.838 seconds ISO Send - TX Sched Timestamping Timed out 1.993 seconds ISO Send - TX CMSG Timestamping Timed out 1.994 seconds ISO Send - TX No Poll Timestamping Failed 0.162 seconds ############################## Test: TestRunner_mgmt-tester - FAIL Desc: Run mgmt-tester with test-runner Output: Total: 492, Passed: 488 (99.2%), Failed: 2, Not Run: 2 Failed Test Cases Read Exp Feature - Success (Index None) Failed 0.075 seconds LL Privacy - Start Discovery 2 (Disable RL) Failed 0.170 seconds ############################## Test: TestRunner_sco-tester - FAIL Desc: Run sco-tester with test-runner Output: Total: 15, Passed: 14 (93.3%), Failed: 1, Not Run: 0 Failed Test Cases SCO CVSD Send - TX Timestamping Timed out 2.273 seconds --- Regards, Linux Bluetooth
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c index 0b93c2ff29e4..0677b48a456e 100644 --- a/drivers/bluetooth/btnxpuart.c +++ b/drivers/bluetooth/btnxpuart.c @@ -1253,8 +1253,10 @@ static int btnxpuart_close(struct hci_dev *hdev) ps_wakeup(nxpdev); serdev_device_close(nxpdev->serdev); skb_queue_purge(&nxpdev->txq); - kfree_skb(nxpdev->rx_skb); - nxpdev->rx_skb = NULL; + if (!IS_ERR_OR_NULL(nxpdev->rx_skb)) { + kfree_skb(nxpdev->rx_skb); + nxpdev->rx_skb = NULL; + } clear_bit(BTNXPUART_SERDEV_OPEN, &nxpdev->tx_state); return 0; } @@ -1269,8 +1271,10 @@ static int btnxpuart_flush(struct hci_dev *hdev) cancel_work_sync(&nxpdev->tx_work); - kfree_skb(nxpdev->rx_skb); - nxpdev->rx_skb = NULL; + if (!IS_ERR_OR_NULL(nxpdev->rx_skb)) { + kfree_skb(nxpdev->rx_skb); + nxpdev->rx_skb = NULL; + } return 0; }