New errors added --- /home/cocci/outputs/results/698480/old-filtered 2024-07-25 07:53:10.995960540 -0700 +++ /home/cocci/outputs/results/698480/new-filtered 2024-07-25 07:53:11.005960616 -0700 @@ -5,29 +5,7 @@ -/home/cocci/testing/include/linux/dma-fence-chain.h:90:4-26: WARNING: casting value returned by memory allocation function to (struct dma_fence_chain *) is useless. -/home/cocci/testing/include/linux/skmsg.h:418:4-24: WARNING: casting value returned by memory allocation function to (struct sk_psock_link *) is useless. -/home/cocci/testing/include/linux/jbd2.h:1613:4-21: WARNING: casting value returned by memory allocation function to (struct jbd2_inode *) is useless. -/home/cocci/testing/include/linux/jbd2.h:1599:4-12: WARNING: casting value returned by memory allocation function to (handle_t *) is useless. -/home/cocci/testing/fs/smb/server/transport_rdma.c:874:5-24: WARNING: atomic_dec_and_test variation before object free at line 883. -/home/cocci/testing/fs/smb/server/transport_rdma.c:874:5-24: WARNING: atomic_dec_and_test variation before object free at line 887. -/home/cocci/testing/kernel/fork.c:939:14-33: WARNING: atomic_dec_and_test variation before object free at line 941. -/home/cocci/testing/kernel/fork.c:1380:5-24: WARNING: atomic_dec_and_test variation before object free at line 1382. -/home/cocci/testing/mm/shmem.c:1417:6-25: WARNING: atomic_dec_and_test variation before object free at line 1398. -/home/cocci/testing/mm/shmem.c:1417:6-25: WARNING: atomic_dec_and_test variation before object free at line 1416. -/home/cocci/testing/drivers/md/dm.c:347:5-24: WARNING: atomic_dec_and_test variation before object free at line 349. -/home/cocci/testing/mm/kmemleak.c:529:6-25: WARNING: atomic_dec_and_test variation before object free at line 541. -/home/cocci/testing/fs/file_table.c:473:5-29: WARNING: atomic_dec_and_test variation before object free at line 477. -/home/cocci/testing/fs/file_table.c:473:5-29: WARNING: atomic_dec_and_test variation before object free at line 492. -/home/cocci/testing/fs/namei.c:273:6-25: WARNING: atomic_dec_and_test variation before object free at line 278. -/home/cocci/testing/kernel/events/core.c:5347:6-30: WARNING: atomic_dec_and_test variation before object free at line 5350. -/home/cocci/testing/drivers/usb/gadget/function/f_fs.c:2166:5-24: WARNING: atomic_dec_and_test variation before object free at line 2176. -/home/cocci/testing/drivers/md/md.c:562:5-24: WARNING: atomic_dec_and_test variation before object free at line 564. -/home/cocci/testing/drivers/md/md.c:595:5-24: WARNING: atomic_dec_and_test variation before object free at line 596. -/home/cocci/testing/arch/powerpc/mm/book3s64/pgtable.c:446:5-24: WARNING: atomic_dec_and_test variation before object free at line 448. -/home/cocci/testing/io_uring/kbuf.c:377:5-24: WARNING: atomic_dec_and_test variation before object free at line 379. -/home/cocci/testing/fs/smb/server/vfs_cache.c:264:5-24: WARNING: atomic_dec_and_test variation before object free at line 274. -/home/cocci/testing/fs/smb/server/vfs_cache.c:215:5-24: WARNING: atomic_dec_and_test variation before object free at line 216. -/home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5615:6-25: WARNING: atomic_dec_and_test variation before object free at line 5622. -/home/cocci/testing/mm/rmap.c:2528:25-44: WARNING: atomic_dec_and_test variation before object free at line 2529. -/home/cocci/testing/block/bio.c:815:7-26: WARNING: atomic_dec_and_test variation before object free at line 821. -/home/cocci/testing/kernel/sched/topology.c:621:6-25: WARNING: atomic_dec_and_test variation before object free at line 622. -/home/cocci/testing/kernel/sched/topology.c:508:7-26: WARNING: atomic_dec_and_test variation before object free at line 522. -/home/cocci/testing/kernel/sched/topology.c:532:6-25: WARNING: atomic_dec_and_test variation before object free at line 535. +/home/cocci/testing/include/linux/skmsg.h:423:4-24: WARNING: casting value returned by memory allocation function to (struct sk_psock_link *) is useless. +/home/cocci/testing/include/linux/jbd2.h:1623:4-21: WARNING: casting value returned by memory allocation function to (struct jbd2_inode *) is useless. +/home/cocci/testing/include/linux/jbd2.h:1604:4-12: WARNING: casting value returned by memory allocation function to (handle_t *) is useless. +/home/cocci/testing/include/linux/dma-fence-chain.h:94:4-26: WARNING: casting value returned by memory allocation function to (struct dma_fence_chain *) is useless. +EXN: File "parsing_c/parse_c.ml", line 539, characters 6-12: Assertion failed in /home/cocci/testing/include/trace/events/mmflags.h +/home/cocci/testing/kernel/events/core.c:5348:6-30: WARNING: atomic_dec_and_test variation before object free at line 5351. +/home/cocci/testing/drivers/md/dm.c:348:5-24: WARNING: atomic_dec_and_test variation before object free at line 350. @@ -38,0 +17,23 @@ +/home/cocci/testing/fs/smb/server/vfs_cache.c:271:5-24: WARNING: atomic_dec_and_test variation before object free at line 281. +/home/cocci/testing/fs/smb/server/vfs_cache.c:222:5-24: WARNING: atomic_dec_and_test variation before object free at line 223. +/home/cocci/testing/mm/shmem.c:1424:6-25: WARNING: atomic_dec_and_test variation before object free at line 1405. +/home/cocci/testing/mm/shmem.c:1424:6-25: WARNING: atomic_dec_and_test variation before object free at line 1423. +/home/cocci/testing/kernel/sched/topology.c:621:6-25: WARNING: atomic_dec_and_test variation before object free at line 622. +/home/cocci/testing/kernel/sched/topology.c:508:7-26: WARNING: atomic_dec_and_test variation before object free at line 522. +/home/cocci/testing/kernel/sched/topology.c:532:6-25: WARNING: atomic_dec_and_test variation before object free at line 535. +/home/cocci/testing/mm/kmemleak.c:529:6-25: WARNING: atomic_dec_and_test variation before object free at line 541. +/home/cocci/testing/drivers/md/md.c:562:5-24: WARNING: atomic_dec_and_test variation before object free at line 564. +/home/cocci/testing/drivers/md/md.c:595:5-24: WARNING: atomic_dec_and_test variation before object free at line 596. +/home/cocci/testing/mm/rmap.c:2548:25-44: WARNING: atomic_dec_and_test variation before object free at line 2549. +/home/cocci/testing/fs/namei.c:273:6-25: WARNING: atomic_dec_and_test variation before object free at line 278. +/home/cocci/testing/block/bio.c:815:7-26: WARNING: atomic_dec_and_test variation before object free at line 821. +/home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5615:6-25: WARNING: atomic_dec_and_test variation before object free at line 5622. +/home/cocci/testing/kernel/fork.c:941:14-33: WARNING: atomic_dec_and_test variation before object free at line 943. +/home/cocci/testing/kernel/fork.c:1382:5-24: WARNING: atomic_dec_and_test variation before object free at line 1384. +/home/cocci/testing/drivers/usb/gadget/function/f_fs.c:2166:5-24: WARNING: atomic_dec_and_test variation before object free at line 2176. +/home/cocci/testing/fs/file_table.c:473:5-29: WARNING: atomic_dec_and_test variation before object free at line 477. +/home/cocci/testing/fs/file_table.c:473:5-29: WARNING: atomic_dec_and_test variation before object free at line 492. +/home/cocci/testing/fs/smb/server/transport_rdma.c:874:5-24: WARNING: atomic_dec_and_test variation before object free at line 883. +/home/cocci/testing/fs/smb/server/transport_rdma.c:874:5-24: WARNING: atomic_dec_and_test variation before object free at line 887. +/home/cocci/testing/io_uring/kbuf.c:377:5-24: WARNING: atomic_dec_and_test variation before object free at line 379. +/home/cocci/testing/arch/powerpc/mm/book3s64/pgtable.c:446:5-24: WARNING: atomic_dec_and_test variation before object free at line 448. @@ -55,3 +56,2 @@ -/home/cocci/testing/drivers/misc/fastrpc.c:1263:8-15: WARNING opportunity for memdup_user -/home/cocci/testing/include/linux/ioport.h:221:13-16: ERROR: Missing resource_size with res -/home/cocci/testing/drivers/pcmcia/yenta_socket.c:641:30-33: WARNING: Suspicious code. resource_size is maybe missing with root +/home/cocci/testing/drivers/pci/controller/dwc/pcie-dw-rockchip.c:454:2-9: line 454 is redundant because platform_get_irq() already prints an error +/home/cocci/testing/include/linux/ioport.h:254:13-16: ERROR: Missing resource_size with res @@ -63,3 +63,3 @@ -/home/cocci/testing/drivers/usb/gadget/function/u_serial.c:1522:4-22: opportunity for str_plural(MAX_U_SERIAL_PORTS) -/home/cocci/testing/drivers/usb/host/xhci-ring.c:3458:17-28: opportunity for str_plural(ep_interval) -/home/cocci/testing/drivers/usb/host/xhci-ring.c:3459:19-32: opportunity for str_plural(xhci_interval) +/home/cocci/testing/drivers/usb/host/xhci-ring.c:3402:17-28: opportunity for str_plural(ep_interval) +/home/cocci/testing/drivers/usb/host/xhci-ring.c:3403:19-32: opportunity for str_plural(xhci_interval) +/home/cocci/testing/tools/testing/selftests/mqueue/mq_perf_tests.c:452:8-19: opportunity for str_plural(res . tv_nsec) @@ -67,5 +67,2 @@ -/home/cocci/testing/tools/testing/selftests/mqueue/mq_perf_tests.c:450:8-19: opportunity for str_plural(res . tv_nsec) -/home/cocci/testing/include/linux/mm.h:3577:14-20: WARNING: Consider using vma_pages helper on vma -/home/cocci/testing/drivers/irqchip/irq-stm32-exti.c:912:1-6: WARNING: invalid free of devm_ allocated data -/home/cocci/testing/drivers/irqchip/irq-stm32-exti.c:913:1-6: WARNING: invalid free of devm_ allocated data -/home/cocci/testing/tools/testing/nvdimm/test/ndtest.c:380:2-7: WARNING: NULL check before some freeing functions is not needed. +/home/cocci/testing/drivers/usb/gadget/function/u_serial.c:1522:4-22: opportunity for str_plural(MAX_U_SERIAL_PORTS) +/home/cocci/testing/include/linux/mm.h:3537:14-20: WARNING: Consider using vma_pages helper on vma @@ -73,10 +70 @@ -/home/cocci/testing/fs/smb/client/smb2pdu.c:2960:8-14: ERROR: reference preceded by free on line 2960 -/home/cocci/testing/fs/smb/client/smb2pdu.c:2973:7-13: ERROR: reference preceded by free on line 2960 -/home/cocci/testing/fs/smb/client/smb2pdu.c:2960:8-14: ERROR: reference preceded by free on line 2973 -/home/cocci/testing/fs/smb/client/smb2pdu.c:2973:7-13: ERROR: reference preceded by free on line 2973 -/home/cocci/testing/fs/smb/client/smb2ops.c:1616:23-29: ERROR: reference preceded by free on line 1736 -/home/cocci/testing/fs/smb/client/smb2ops.c:1635:12-18: ERROR: reference preceded by free on line 1736 -/home/cocci/testing/fs/smb/client/smb2ops.c:1650:31-37: ERROR: reference preceded by free on line 1736 -/home/cocci/testing/fs/smb/client/smb2ops.c:1736:7-13: ERROR: reference preceded by free on line 1736 -/home/cocci/testing/fs/smb/client/smb2ops.c:1268:7-9: ERROR: reference preceded by free on line 1268 -/home/cocci/testing/drivers/pci/controller/pci-hyperv.c:2615:31-33: ERROR: reference preceded by free on line 2596 +/home/cocci/testing/tools/testing/nvdimm/test/ndtest.c:380:2-7: WARNING: NULL check before some freeing functions is not needed. @@ -100,9 +88,19 @@ -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:418:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:423:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:427:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:432:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:437:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:442:2-8: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:465:1-7: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:472:1-7: ERROR: missing put_device; call of_find_device_by_node on line 411, but without a corresponding object release within this function. -/home/cocci/testing/drivers/pci/hotplug/pnv_php.c:163:2-13: ERROR: probable double put. +/home/cocci/testing/fs/smb/client/smb2pdu.c:2960:8-14: ERROR: reference preceded by free on line 2960 +/home/cocci/testing/fs/smb/client/smb2pdu.c:2973:7-13: ERROR: reference preceded by free on line 2960 +/home/cocci/testing/fs/smb/client/smb2pdu.c:2960:8-14: ERROR: reference preceded by free on line 2973 +/home/cocci/testing/fs/smb/client/smb2pdu.c:2973:7-13: ERROR: reference preceded by free on line 2973 +/home/cocci/testing/fs/smb/client/smb2ops.c:1648:23-29: ERROR: reference preceded by free on line 1768 +/home/cocci/testing/fs/smb/client/smb2ops.c:1667:12-18: ERROR: reference preceded by free on line 1768 +/home/cocci/testing/fs/smb/client/smb2ops.c:1682:31-37: ERROR: reference preceded by free on line 1768 +/home/cocci/testing/fs/smb/client/smb2ops.c:1768:7-13: ERROR: reference preceded by free on line 1768 +/home/cocci/testing/fs/smb/client/smb2ops.c:1300:7-9: ERROR: reference preceded by free on line 1300 +/home/cocci/testing/drivers/pci/controller/pci-hyperv.c:2615:31-33: ERROR: reference preceded by free on line 2596 +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:545:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:550:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:556:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:561:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:566:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:571:2-8: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:594:1-7: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/irqchip/irq-renesas-rzg2l.c:601:1-7: ERROR: missing put_device; call of_find_device_by_node on line 538, but without a corresponding object release within this function. +/home/cocci/testing/drivers/pci/hotplug/pnv_php.c:162:2-13: ERROR: probable double put. @@ -111,11 +109,2 @@ -/home/cocci/testing/arch/x86/kvm/svm/sev.c:1768:7-8: ERROR: iterator variable bound on line 1763 cannot be NULL -/home/cocci/testing/arch/x86/kvm/svm/sev.c:1788:6-7: ERROR: iterator variable bound on line 1783 cannot be NULL -/home/cocci/testing/kernel/exit.c:490:21-22: ERROR: invalid reference to the index variable of the iterator on line 477 -/home/cocci/testing/drivers/usb/gadget/udc/aspeed_udc.c:712:6-9: ERROR: invalid reference to the index variable of the iterator on line 702 -/home/cocci/testing/mm/percpu.c:2053:34-39: ERROR: invalid reference to the index variable of the iterator on line 2043 -/home/cocci/testing/mm/percpu.c:2053:52-57: ERROR: invalid reference to the index variable of the iterator on line 2043 -/home/cocci/testing/fs/fs-writeback.c:464:8-11: ERROR: invalid reference to the index variable of the iterator on line 459 -/home/cocci/testing/fs/netfs/write_collect.c:254:7-13: ERROR: invalid reference to the index variable of the iterator on line 225 -/home/cocci/testing/tools/testing/nvdimm/test/iomap.c:250:10-13: ERROR: invalid reference to the index variable of the iterator on line 238 -/home/cocci/testing/drivers/vfio/vfio_iommu_spapr_tce.c:129:41-47: ERROR: invalid reference to the index variable of the iterator on line 119 -/home/cocci/testing/drivers/dca/dca-core.c:208:25-28: ERROR: invalid reference to the index variable of the iterator on line 197 +/home/cocci/testing/arch/x86/kvm/svm/sev.c:1925:7-8: ERROR: iterator variable bound on line 1920 cannot be NULL +/home/cocci/testing/arch/x86/kvm/svm/sev.c:1945:6-7: ERROR: iterator variable bound on line 1940 cannot be NULL @@ -123,3 +111,0 @@ -/home/cocci/testing/drivers/pci/setup-bus.c:1920:21-24: ERROR: invalid reference to the index variable of the iterator on line 1894 -/home/cocci/testing/fs/jfs/jfs_logmgr.c:884:27-31: ERROR: invalid reference to the index variable of the iterator on line 817 -/home/cocci/testing/mm/compaction.c:1662:31-39: ERROR: invalid reference to the index variable of the iterator on line 1624 @@ -128,3 +114,15 @@ -/home/cocci/testing/drivers/thermal/thermal_core.c:735:11-15: ERROR: invalid reference to the index variable of the iterator on line 726 -/home/cocci/testing/drivers/thermal/thermal_core.c:735:27-31: ERROR: invalid reference to the index variable of the iterator on line 730 -/home/cocci/testing/drivers/thermal/thermal_core.c:1579:5-8: ERROR: invalid reference to the index variable of the iterator on line 1576 +/home/cocci/testing/mm/compaction.c:1662:31-39: ERROR: invalid reference to the index variable of the iterator on line 1624 +/home/cocci/testing/drivers/usb/gadget/udc/aspeed_udc.c:712:6-9: ERROR: invalid reference to the index variable of the iterator on line 702 +/home/cocci/testing/fs/jfs/jfs_logmgr.c:884:27-31: ERROR: invalid reference to the index variable of the iterator on line 817 +/home/cocci/testing/kernel/exit.c:515:18-19: ERROR: invalid reference to the index variable of the iterator on line 508 +/home/cocci/testing/drivers/vfio/vfio_iommu_spapr_tce.c:129:41-47: ERROR: invalid reference to the index variable of the iterator on line 119 +/home/cocci/testing/fs/netfs/write_collect.c:254:7-13: ERROR: invalid reference to the index variable of the iterator on line 225 +/home/cocci/testing/drivers/dca/dca-core.c:209:25-28: ERROR: invalid reference to the index variable of the iterator on line 198 +/home/cocci/testing/tools/testing/nvdimm/test/iomap.c:250:10-13: ERROR: invalid reference to the index variable of the iterator on line 238 +/home/cocci/testing/fs/fs-writeback.c:464:8-11: ERROR: invalid reference to the index variable of the iterator on line 459 +/home/cocci/testing/drivers/thermal/thermal_core.c:732:11-15: ERROR: invalid reference to the index variable of the iterator on line 723 +/home/cocci/testing/drivers/thermal/thermal_core.c:732:27-31: ERROR: invalid reference to the index variable of the iterator on line 727 +/home/cocci/testing/drivers/thermal/thermal_core.c:1576:5-8: ERROR: invalid reference to the index variable of the iterator on line 1573 +/home/cocci/testing/mm/percpu.c:2053:34-39: ERROR: invalid reference to the index variable of the iterator on line 2043 +/home/cocci/testing/mm/percpu.c:2053:52-57: ERROR: invalid reference to the index variable of the iterator on line 2043 +/home/cocci/testing/drivers/pci/setup-bus.c:1995:21-24: ERROR: invalid reference to the index variable of the iterator on line 1969 @@ -132 +130,2 @@ -/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2804:3-12: second lock on line 2804 +/home/cocci/testing/fs/inode.c:924:2-11: second lock on line 924 +/home/cocci/testing/fs/inode.c:965:2-11: second lock on line 965 @@ -136,2 +135,14 @@ -/home/cocci/testing/fs/inode.c:914:2-11: second lock on line 914 -/home/cocci/testing/fs/inode.c:955:2-11: second lock on line 955 +/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2803:3-12: second lock on line 2803 +/home/cocci/testing/drivers/md/bcache/alloc.c:414:1-7: preceding lock on line 349 +/home/cocci/testing/drivers/md/bcache/alloc.c:414:1-7: preceding lock on line 368 +/home/cocci/testing/fs/dcache.c:668:2-8: preceding lock on line 660 +/home/cocci/testing/kernel/trace/trace.c:6482:3-9: preceding lock on line 6501 +/home/cocci/testing/kernel/trace/trace.c:6504:3-9: preceding lock on line 6501 +/home/cocci/testing/arch/powerpc/kvm/book3s_hv.c:4655:0-1: preceding lock on line 4572 +/home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 +/home/cocci/testing/drivers/iio/industrialio-core.c:2160:2-8: preceding lock on line 2157 +/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 +/home/cocci/testing/arch/x86/mm/pat/set_memory.c:1833:1-7: preceding lock on line 1807 +/home/cocci/testing/fs/aio.c:1710:3-9: preceding lock on line 1708 +/home/cocci/testing/block/blk-cgroup.c:926:1-7: preceding lock on line 858 +/home/cocci/testing/block/blk-cgroup.c:926:1-7: preceding lock on line 899 @@ -146,2 +157,3 @@ -/home/cocci/testing/fs/namei.c:3185:2-8: preceding lock on line 3180 -/home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 +/home/cocci/testing/drivers/md/bcache/btree.c:1531:1-7: preceding lock on line 1406 +/home/cocci/testing/arch/arm64/kvm/mmu.c:147:3-9: preceding lock on line 140 +/home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 @@ -149,21 +161,2 @@ -/home/cocci/testing/arch/powerpc/platforms/cell/spufs/inode.c:456:1-7: preceding lock on line 430 -/home/cocci/testing/mm/slub.c:4338:2-8: preceding lock on line 4310 -/home/cocci/testing/fs/fs-writeback.c:347:3-9: preceding lock on line 342 -/home/cocci/testing/mm/hugetlb.c:6476:2-8: preceding lock on line 6442 -/home/cocci/testing/mm/hugetlb.c:5959:2-8: preceding lock on line 6017 -/home/cocci/testing/mm/hugetlb.c:5959:2-8: preceding lock on line 6019 -/home/cocci/testing/mm/hugetlb.c:739:3-9: preceding lock on line 712 -/home/cocci/testing/mm/hugetlb.c:788:2-8: preceding lock on line 778 -/home/cocci/testing/fs/inode.c:930:1-7: preceding lock on line 914 -/home/cocci/testing/fs/inode.c:971:1-7: preceding lock on line 955 -/home/cocci/testing/fs/inode.c:1700:3-9: preceding lock on line 1687 -/home/cocci/testing/block/blk-cgroup.c:926:1-7: preceding lock on line 858 -/home/cocci/testing/block/blk-cgroup.c:926:1-7: preceding lock on line 899 -/home/cocci/testing/drivers/md/bcache/btree.c:1529:1-7: preceding lock on line 1404 -/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2787:3-9: preceding lock on line 2804 -/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2793:3-9: preceding lock on line 2804 -/home/cocci/testing/fs/aio.c:1719:3-9: preceding lock on line 1717 -/home/cocci/testing/drivers/md/md.c:464:2-8: preceding lock on line 462 -/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 -/home/cocci/testing/mm/percpu.c:1912:1-7: preceding lock on line 1794 -/home/cocci/testing/mm/percpu.c:1938:1-7: preceding lock on line 1794 +/home/cocci/testing/drivers/usb/typec/ucsi/ucsi.c:243:2-8: preceding lock on line 238 +/home/cocci/testing/drivers/usb/typec/ucsi/ucsi.c:247:2-8: preceding lock on line 238 @@ -171,3 +163,0 @@ -/home/cocci/testing/mm/migrate.c:820:1-7: preceding lock on line 772 -/home/cocci/testing/arch/x86/mm/pat/set_memory.c:1833:1-7: preceding lock on line 1807 -/home/cocci/testing/arch/arm64/kvm/mmu.c:147:3-9: preceding lock on line 140 @@ -177,4 +167,19 @@ -/home/cocci/testing/kernel/exit.c:1591:3-9: preceding lock on line 1586 -/home/cocci/testing/kernel/exit.c:1598:4-10: preceding lock on line 1586 -/home/cocci/testing/kernel/exit.c:1602:4-10: preceding lock on line 1586 -/home/cocci/testing/arch/powerpc/kvm/book3s_hv.c:4557:0-1: preceding lock on line 4474 +/home/cocci/testing/drivers/misc/eeprom/ee1004.c:276:2-8: preceding lock on line 265 +/home/cocci/testing/kernel/exit.c:1596:3-9: preceding lock on line 1591 +/home/cocci/testing/kernel/exit.c:1603:4-10: preceding lock on line 1591 +/home/cocci/testing/kernel/exit.c:1607:4-10: preceding lock on line 1591 +/home/cocci/testing/kernel/exit.c:531:1-7: preceding lock on line 497 +/home/cocci/testing/mm/slub.c:4347:2-8: preceding lock on line 4319 +/home/cocci/testing/drivers/pinctrl/nomadik/pinctrl-nomadik.c:981:1-7: preceding lock on line 904 +/home/cocci/testing/mm/vmscan.c:798:1-7: preceding lock on line 714 +/home/cocci/testing/mm/hugetlb.c:6485:2-8: preceding lock on line 6451 +/home/cocci/testing/mm/hugetlb.c:5969:2-8: preceding lock on line 6027 +/home/cocci/testing/mm/hugetlb.c:5969:2-8: preceding lock on line 6029 +/home/cocci/testing/mm/hugetlb.c:739:3-9: preceding lock on line 712 +/home/cocci/testing/mm/hugetlb.c:788:2-8: preceding lock on line 778 +/home/cocci/testing/arch/powerpc/platforms/cell/spufs/inode.c:456:1-7: preceding lock on line 430 +/home/cocci/testing/fs/inode.c:940:1-7: preceding lock on line 924 +/home/cocci/testing/fs/inode.c:981:1-7: preceding lock on line 965 +/home/cocci/testing/fs/inode.c:1710:3-9: preceding lock on line 1697 +/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2786:3-9: preceding lock on line 2803 +/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2792:3-9: preceding lock on line 2803 @@ -182,13 +187,17 @@ -/home/cocci/testing/kernel/trace/trace.c:6482:3-9: preceding lock on line 6501 -/home/cocci/testing/kernel/trace/trace.c:6504:3-9: preceding lock on line 6501 -/home/cocci/testing/drivers/pinctrl/nomadik/pinctrl-nomadik.c:983:1-7: preceding lock on line 906 -/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:1013:2-8: preceding lock on line 963 -/home/cocci/testing/mm/vmscan.c:778:1-7: preceding lock on line 694 -/home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 -/home/cocci/testing/fs/dcache.c:668:2-8: preceding lock on line 660 -/home/cocci/testing/drivers/staging/rtl8192e/rtllib_rx.c:707:3-9: preceding lock on line 698 -/home/cocci/testing/drivers/md/bcache/alloc.c:384:1-7: preceding lock on line 319 -/home/cocci/testing/drivers/md/bcache/alloc.c:384:1-7: preceding lock on line 338 -/home/cocci/testing/drivers/iio/industrialio-core.c:2150:2-8: preceding lock on line 2147 -/home/cocci/testing/tools/testing/selftests/mm/uffd-unit-tests.c:1480:32-33: WARNING: Use ARRAY_SIZE -/home/cocci/testing/tools/testing/selftests/mm/uffd-unit-tests.c:1481:30-31: WARNING: Use ARRAY_SIZE +/home/cocci/testing/fs/namei.c:3185:2-8: preceding lock on line 3180 +/home/cocci/testing/mm/migrate.c:823:1-7: preceding lock on line 783 +/home/cocci/testing/drivers/staging/rtl8192e/rtllib_rx.c:706:3-9: preceding lock on line 697 +/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:1018:2-8: preceding lock on line 968 +/home/cocci/testing/mm/percpu.c:1912:1-7: preceding lock on line 1794 +/home/cocci/testing/mm/percpu.c:1938:1-7: preceding lock on line 1794 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1447:4-10: preceding lock on line 1439 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1447:4-10: preceding lock on line 1439 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1474:1-7: preceding lock on line 1439 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1474:1-7: preceding lock on line 1439 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1447:4-10: preceding lock on line 1441 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1447:4-10: preceding lock on line 1441 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1474:1-7: preceding lock on line 1441 +/home/cocci/testing/arch/x86/kvm/mmu/tdp_mmu.c:1474:1-7: preceding lock on line 1441 +/home/cocci/testing/drivers/md/md.c:464:2-8: preceding lock on line 462 +/home/cocci/testing/fs/fs-writeback.c:347:3-9: preceding lock on line 342 +/home/cocci/testing/tools/testing/selftests/mm/pagemap_ioctl.c:1322:26-27: WARNING: Use ARRAY_SIZE @@ -198 +207,2 @@ -/home/cocci/testing/tools/testing/selftests/mm/pagemap_ioctl.c:1322:26-27: WARNING: Use ARRAY_SIZE +/home/cocci/testing/tools/testing/selftests/mm/uffd-unit-tests.c:1479:32-33: WARNING: Use ARRAY_SIZE +/home/cocci/testing/tools/testing/selftests/mm/uffd-unit-tests.c:1480:30-31: WARNING: Use ARRAY_SIZE @@ -201,2 +211,2 @@ -/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:3566:2-4: WARNING: possible condition with no effect (if == else) -/home/cocci/testing/mm/shmem.c:3757:8-15: ERROR: PTR_ERR applied after initialization to constant on line 3748 +/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:3581:2-4: WARNING: possible condition with no effect (if == else) +/home/cocci/testing/mm/shmem.c:3905:8-15: ERROR: PTR_ERR applied after initialization to constant on line 3896 @@ -207,2 +217,2 @@ -/home/cocci/testing/arch/x86/kvm/lapic.c:1961:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. -/home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/drivers/staging/iio/impedance-analyzer/ad5933.c:198:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/mm/mm_init.c:2395:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. @@ -210,3 +220 @@ -/home/cocci/testing/mm/mm_init.c:2433:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. -/home/cocci/testing/drivers/iio/frequency/adf4350.c:184:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. -/home/cocci/testing/drivers/tty/serial/imx.c:1823:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. @@ -214 +222,6 @@ -/home/cocci/testing/drivers/staging/iio/impedance-analyzer/ad5933.c:198:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/drivers/tty/serial/imx.c:1828:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/drivers/iio/frequency/adf4350.c:190:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/arch/x86/kvm/lapic.c:1962:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. +/home/cocci/testing/tools/testing/selftests/kvm/include/x86_64/processor.h:66:7-26: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) +/home/cocci/testing/fs/smb/server/smb2pdu.h:197:6-12: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) +/home/cocci/testing/fs/smb/server/smb2pdu.h:373:6-10: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) @@ -218,4 +231,2 @@ -/home/cocci/testing/tools/testing/selftests/kvm/include/x86_64/processor.h:65:7-26: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) -/home/cocci/testing/include/linux/mmzone.h:1794:15-30: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) -/home/cocci/testing/fs/smb/server/smb2pdu.h:195:6-12: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) -/home/cocci/testing/fs/smb/server/smb2pdu.h:371:6-10: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) +/home/cocci/testing/include/linux/mmzone.h:1796:15-30: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) +/home/cocci/testing/include/linux/min_heap.h:21:7-19: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) @@ -225 +235,0 @@ -/home/cocci/testing/drivers/rtc/rtc-rc5t583.c:241:7-32: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) @@ -227 +237 @@ -/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_ccg.c:725:8-28: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) +/home/cocci/testing/drivers/rtc/rtc-rc5t583.c:241:7-32: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) @@ -230,19 +240,22 @@ -/home/cocci/testing/drivers/tty/synclink_gt.c:4040:21-22: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4080:21-22: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4120:13-14: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:2133:20-21: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:2088:27-28: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:2158:20-21: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:2199:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4912:26-27: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4446:14-15: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:1781:29-30: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3870:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3899:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3902:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3855:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3858:32-33: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4172:15-16: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4174:39-40: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4185:48-49: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4187:48-49: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_ccg.c:711:8-28: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) +/home/cocci/testing/drivers/input/touchscreen/himax_hx83112b.c:137:42-48: ERROR: application of sizeof to pointer +/home/cocci/testing/drivers/mailbox/mtk-cmdq-mailbox.c:587:8-14: ERROR: application of sizeof to pointer +/home/cocci/testing/arch/loongarch/include/asm/addrspace.h:62:33-34: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4041:21-22: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4081:21-22: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4121:13-14: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:2134:20-21: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:2089:27-28: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:2159:20-21: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:2200:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4913:26-27: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4447:14-15: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:1782:29-30: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3871:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3900:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3903:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3856:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3859:32-33: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4173:15-16: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4175:39-40: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4186:48-49: WARNING: sum of probable bitmasks, consider | @@ -250,7 +263,7 @@ -/home/cocci/testing/drivers/tty/synclink_gt.c:4189:53-54: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4195:37-38: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4205:47-48: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4247:15-16: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4249:39-40: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4258:48-49: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4260:48-49: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4189:48-49: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4190:53-54: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4196:37-38: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4206:47-48: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4248:15-16: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4250:39-40: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4259:48-49: WARNING: sum of probable bitmasks, consider | @@ -258,15 +271,15 @@ -/home/cocci/testing/drivers/tty/synclink_gt.c:4262:53-54: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4268:37-38: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4291:15-16: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4308:14-15: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4312:46-47: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4322:14-15: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4356:27-28: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4376:22-23: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:4381:16-17: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3937:33-34: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3939:51-52: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3948:29-30: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3965:31-32: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/drivers/tty/synclink_gt.c:3968:49-50: WARNING: sum of probable bitmasks, consider | -/home/cocci/testing/arch/loongarch/include/asm/addrspace.h:58:33-34: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4262:48-49: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4263:53-54: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4269:37-38: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4292:15-16: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4309:14-15: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4313:46-47: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4323:14-15: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4357:27-28: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4377:22-23: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:4382:16-17: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3938:33-34: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3940:51-52: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3949:29-30: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3966:31-32: WARNING: sum of probable bitmasks, consider | +/home/cocci/testing/drivers/tty/synclink_gt.c:3969:49-50: WARNING: sum of probable bitmasks, consider | @@ -274 +286,0 @@ -/home/cocci/testing/drivers/input/serio/i8042.c:1133:6-11: Unneeded variable: "delay". Return "0" on line 1149 @@ -276,4 +287,0 @@ -/home/cocci/testing/arch/x86/kvm/emulate.c:1181:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 1203 -/home/cocci/testing/arch/x86/kvm/emulate.c:1316:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 1331 -/home/cocci/testing/arch/x86/kvm/emulate.c:4553:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 4587 -/home/cocci/testing/arch/s390/kvm/kvm-s390.c:4314:5-8: Unneeded variable: "ret". Return "0" on line 4326 @@ -281 +288,0 @@ -/home/cocci/testing/drivers/pci/controller/dwc/pci-imx6.c:591:5-8: Unneeded variable: "ret". Return "0" on line 637 @@ -282,0 +290,7 @@ +/home/cocci/testing/arch/s390/kvm/kvm-s390.c:4309:5-8: Unneeded variable: "ret". Return "0" on line 4321 +/home/cocci/testing/drivers/input/serio/i8042.c:1133:6-11: Unneeded variable: "delay". Return "0" on line 1149 +/home/cocci/testing/arch/x86/kvm/emulate.c:1181:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 1203 +/home/cocci/testing/arch/x86/kvm/emulate.c:1316:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 1331 +/home/cocci/testing/arch/x86/kvm/emulate.c:4524:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 4558 +/home/cocci/testing/drivers/pci/controller/dwc/pci-imx6.c:589:5-8: Unneeded variable: "ret". Return "0" on line 635 +/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_glink.c:266:2-3: Unneeded semicolon @@ -284,5 +298 @@ -/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_glink.c:293:2-3: Unneeded semicolon -/home/cocci/testing/mm/userfaultfd.c:1003:13-14: WARNING opportunity for swap() -/home/cocci/testing/lib/bch.c:808:7-8: WARNING opportunity for swap() -/home/cocci/testing/lib/bch.c:815:7-8: WARNING opportunity for swap() -/home/cocci/testing/lib/bch.c:484:22-23: WARNING opportunity for swap() +/home/cocci/testing/arch/loongarch/kvm/exit.c:716:2-3: Unneeded semicolon @@ -291,2 +301,2 @@ -/home/cocci/testing/tools/testing/selftests/mm/mseal_test.c:1446:29-30: WARNING comparing pointer to 0 -/home/cocci/testing/tools/testing/selftests/mm/mseal_test.c:533:27-28: WARNING comparing pointer to 0 +/home/cocci/testing/tools/testing/selftests/mm/mseal_test.c:1399:29-30: WARNING comparing pointer to 0 +/home/cocci/testing/tools/testing/selftests/mm/mseal_test.c:486:27-28: WARNING comparing pointer to 0 @@ -294,0 +305 @@ +/home/cocci/testing/drivers/scsi/qedf/qedf_main.c:4024:18-25: ERROR: qedf is NULL but dereferenced. @@ -298,5 +309,5 @@ -/home/cocci/testing/drivers/android/binder.c:1528:19-23: ERROR: from is NULL but dereferenced. -/home/cocci/testing/drivers/android/binder.c:2897:19-23: ERROR: from is NULL but dereferenced. -/home/cocci/testing/drivers/android/binder.c:2992:29-33: ERROR: target_thread is NULL but dereferenced. -/home/cocci/testing/drivers/android/binder.c:4973:16-20: ERROR: t is NULL but dereferenced. -/home/cocci/testing/drivers/android/binder.c:5004:17-21: ERROR: t is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:1609:19-23: ERROR: from is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:2978:19-23: ERROR: from is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:3073:29-33: ERROR: target_thread is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:5055:16-20: ERROR: t is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:5086:17-21: ERROR: t is NULL but dereferenced. @@ -304,3 +315,2 @@ -/home/cocci/testing/drivers/android/binder.c:2226:26-36: ERROR: node -> proc is NULL but dereferenced. -/home/cocci/testing/drivers/android/binder.c:2233:26-36: ERROR: node -> proc is NULL but dereferenced. -/home/cocci/testing/drivers/scsi/qedf/qedf_main.c:4024:18-25: ERROR: qedf is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:2307:26-36: ERROR: node -> proc is NULL but dereferenced. +/home/cocci/testing/drivers/android/binder.c:2314:26-36: ERROR: node -> proc is NULL but dereferenced. @@ -308,9 +318,6 @@ -/home/cocci/testing/arch/powerpc/include/asm/mmu.h:151:2-20: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:619:27-28: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:620:2-3: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:621:2-3: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:621:27-28: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:621:45-46: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:622:21-22: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:623:12-13: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:625:2-3: duplicated argument to & or | +/home/cocci/testing/arch/powerpc/include/asm/mmu.h:150:2-20: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:631:27-28: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:632:2-3: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:633:2-3: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:633:27-28: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:633:45-46: duplicated argument to & or | @@ -318 +325 @@ -/home/cocci/testing/arch/x86/kvm/cpuid.c:636:22-23: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:635:12-13: duplicated argument to & or | @@ -320,15 +327,18 @@ -/home/cocci/testing/arch/x86/kvm/cpuid.c:645:29-30: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:652:37-38: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:713:31-32: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:713:43-44: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:715:31-32: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:716:2-3: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:723:21-22: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:725:22-23: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:726:10-11: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:775:2-3: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:775:16-17: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:775:30-31: duplicated argument to & or | -/home/cocci/testing/arch/x86/kvm/cpuid.c:779:43-44: duplicated argument to & or | -/home/cocci/testing/drivers/pci/pci.c:6790:6-10: duplicated argument to && or || -/home/cocci/testing/drivers/usb/storage/usb.c:486:4-13: duplicated argument to && or || +/home/cocci/testing/arch/x86/kvm/cpuid.c:646:21-22: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:648:22-23: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:649:2-3: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:657:29-30: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:664:37-38: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:725:31-32: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:725:43-44: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:727:31-32: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:728:2-3: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:735:21-22: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:737:22-23: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:738:10-11: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:787:2-3: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:787:16-17: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:787:30-31: duplicated argument to & or | +/home/cocci/testing/arch/x86/kvm/cpuid.c:791:43-44: duplicated argument to & or | +/home/cocci/testing/drivers/pci/pci.c:6853:6-10: duplicated argument to && or || +/home/cocci/testing/drivers/usb/storage/usb.c:579:4-13: duplicated argument to && or || @@ -336 +346 @@ -/home/cocci/testing/drivers/scsi/sd.c:2444:6-16: WARNING: Unsigned expression compared with zero: the_result > 0 +/home/cocci/testing/drivers/scsi/sd.c:2445:6-16: WARNING: Unsigned expression compared with zero: the_result > 0 Per-file breakdown --- /tmp/tmp.TWHTesEgJ8 2024-07-25 07:53:11.025960766 -0700 +++ /tmp/tmp.IqBhaie3Jh 2024-07-25 07:53:11.025960766 -0700 @@ -2,0 +3 @@ + 1 /arch/loongarch/kvm/exit.c @@ -14,0 +16 @@ + 8 /arch/x86/kvm/mmu/tdp_mmu.c @@ -29,0 +32 @@ + 1 /drivers/input/touchscreen/himax_hx83112b.c @@ -31 +34 @@ - 2 /drivers/irqchip/irq-stm32-exti.c + 1 /drivers/mailbox/mtk-cmdq-mailbox.c @@ -37 +40 @@ - 1 /drivers/misc/fastrpc.c + 1 /drivers/misc/eeprom/ee1004.c @@ -45,0 +49 @@ + 1 /drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -51 +54,0 @@ - 1 /drivers/pcmcia/yenta_socket.c @@ -71,0 +75 @@ + 2 /drivers/usb/typec/ucsi/ucsi.c @@ -95,0 +100 @@ + 1 /include/linux/min_heap.h @@ -103 +108 @@ - 4 /kernel/exit.c + 5 /kernel/exit.c @@ -107 +111,0 @@ - 3 /lib/bch.c @@ -122 +125,0 @@ - 1 /mm/userfaultfd.c