New errors added --- /home/cocci/outputs/results/698121/old-filtered 2024-07-25 01:50:28.990297482 -0700 +++ /home/cocci/outputs/results/698121/new-filtered 2024-07-25 01:50:29.000297552 -0700 @@ -5,15 +5,4 @@ -/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/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/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/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/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/usb/gadget/function/f_fs.c:2166:5-24: WARNING: atomic_dec_and_test variation before object free at line 2176. -/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/mm/rmap.c:2528:25-44: WARNING: atomic_dec_and_test variation before object free at line 2529. -/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: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/include/linux/dma-fence-chain.h:94:4-26: WARNING: casting value returned by memory allocation function to (struct dma_fence_chain *) 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/skmsg.h:423:4-24: WARNING: casting value returned by memory allocation function to (struct sk_psock_link *) is useless. @@ -23,3 +11,0 @@ -/home/cocci/testing/net/netfilter/ipvs/ip_vs_ctl.c:528:5-24: WARNING: atomic_dec_and_test variation before object free at line 533. -/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/block/bio.c:815:7-26: WARNING: atomic_dec_and_test variation before object free at line 821. @@ -26,0 +13,8 @@ +/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/fs/namei.c:273:6-25: WARNING: atomic_dec_and_test variation before object free at line 278. +/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/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/drivers/md/dm.c:348:5-24: WARNING: atomic_dec_and_test variation before object free at line 350. @@ -31 +25,3 @@ -/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/net/netfilter/ipvs/ip_vs_ctl.c:528:5-24: WARNING: atomic_dec_and_test variation before object free at line 533. +/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/drivers/usb/gadget/function/f_fs.c:2166:5-24: WARNING: atomic_dec_and_test variation before object free at line 2176. @@ -34,2 +30,5 @@ -/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/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/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/mm/rmap.c:2548:25-44: WARNING: atomic_dec_and_test variation before object free at line 2549. @@ -38 +37,2 @@ -/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/block/bio.c:815:7-26: WARNING: atomic_dec_and_test variation before object free at line 821. +/home/cocci/testing/kernel/events/core.c:5348:6-30: WARNING: atomic_dec_and_test variation before object free at line 5351. @@ -55,3 +55,2 @@ -/home/cocci/testing/drivers/misc/fastrpc.c:1263:8-15: WARNING opportunity for memdup_user -/home/cocci/testing/drivers/pcmcia/yenta_socket.c:641:30-33: WARNING: Suspicious code. resource_size is maybe missing with root -/home/cocci/testing/include/linux/ioport.h:221:13-16: ERROR: Missing resource_size with res +/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 +61,0 @@ -/home/cocci/testing/drivers/pcmcia/i82365.c:684:36-38: opportunity for str_plural(ns) -/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) @@ -67,5 +63,5 @@ -/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/nfit.c:1643:2-7: WARNING: NULL check before some freeing functions is not needed. +/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/drivers/pcmcia/i82365.c:684:36-38: opportunity for str_plural(ns) +/home/cocci/testing/tools/testing/selftests/mqueue/mq_perf_tests.c:452:8-19: opportunity for str_plural(res . tv_nsec) +/home/cocci/testing/include/linux/mm.h:3537:14-20: WARNING: Consider using vma_pages helper on vma @@ -73,7 +69 @@ -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/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/nfit.c:1643:2-7: WARNING: NULL check before some freeing functions is not needed. @@ -101,10 +91,15 @@ -/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. -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/drivers/pci/hotplug/pnv_php.c:163:2-13: ERROR: probable double put. +/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. @@ -113,4 +108,3 @@ -/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/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/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 +/home/cocci/testing/drivers/md/dm-vdo/slab-depot.c:160:39-52: ERROR: invalid reference to the index variable of the iterator on line 155 @@ -118 +112,5 @@ -/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/pci/setup-bus.c:1995:21-24: ERROR: invalid reference to the index variable of the iterator on line 1969 +/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/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 @@ -120,5 +117,0 @@ -/home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7861:3-8: ERROR: invalid reference to the index variable of the iterator on line 7853 -/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/fs-writeback.c:464:8-11: ERROR: invalid reference to the index variable of the iterator on line 459 -/home/cocci/testing/drivers/md/dm-vdo/slab-depot.c:160:39-52: ERROR: invalid reference to the index variable of the iterator on line 155 -/home/cocci/testing/kernel/exit.c:490:21-22: ERROR: invalid reference to the index variable of the iterator on line 477 @@ -127,4 +120 @@ -/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/drivers/dca/dca-core.c:208:25-28: ERROR: invalid reference to the index variable of the iterator on line 197 +/home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7862:3-8: ERROR: invalid reference to the index variable of the iterator on line 7854 @@ -131,0 +122 @@ +/home/cocci/testing/fs/fs-writeback.c:464:8-11: ERROR: invalid reference to the index variable of the iterator on line 459 @@ -133 +124,5 @@ -/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/mm/compaction.c:1662:31-39: ERROR: invalid reference to the index variable of the iterator on line 1624 +/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/kernel/exit.c:515:18-19: ERROR: invalid reference to the index variable of the iterator on line 508 +/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 @@ -134,0 +130,2 @@ +/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 @@ -138,6 +135,31 @@ -/home/cocci/testing/arch/x86/kvm/mmu/mmu.c:2804:3-12: second lock on line 2804 -/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/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/x86/kvm/mmu/mmu.c:2803:3-12: second lock on line 2803 +/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/drivers/pinctrl/nomadik/pinctrl-nomadik.c:981:1-7: preceding lock on line 904 +/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:1018:2-8: preceding lock on line 968 +/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/iio/light/opt3001.c:735:1-7: preceding lock on line 693 +/home/cocci/testing/drivers/net/tun.c:2038:1-7: preceding lock on line 1839 +/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/drivers/staging/rtl8192e/rtllib_rx.c:706:3-9: preceding lock on line 697 +/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 +/home/cocci/testing/drivers/misc/eeprom/ee1004.c:276:2-8: preceding lock on line 265 +/home/cocci/testing/fs/namei.c:3185:2-8: preceding lock on line 3180 +/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/fs/dcache.c:668:2-8: preceding lock on line 660 +/home/cocci/testing/arch/x86/mm/pat/set_memory.c:1833:1-7: preceding lock on line 1807 @@ -147,5 +169,5 @@ -/home/cocci/testing/drivers/pinctrl/nomadik/pinctrl-nomadik.c:983:1-7: preceding lock on line 906 -/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/md/bcache/btree.c:1529:1-7: preceding lock on line 1404 -/home/cocci/testing/arch/arm64/kvm/mmu.c:147:3-9: preceding lock on line 140 +/home/cocci/testing/mm/migrate.c:823:1-7: preceding lock on line 783 +/home/cocci/testing/arch/powerpc/platforms/cell/spufs/inode.c:456:1-7: preceding lock on line 430 +/home/cocci/testing/drivers/md/bcache/btree.c:1531:1-7: preceding lock on line 1406 +/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 @@ -154 +176,4 @@ -/home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 +/home/cocci/testing/net/netfilter/nf_conntrack_core.c:113:2-8: preceding lock on line 107 +/home/cocci/testing/drivers/md/md.c:464:2-8: preceding lock on line 462 +/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 @@ -156,0 +182,7 @@ +/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 +/home/cocci/testing/drivers/iio/industrialio-core.c:2160:2-8: preceding lock on line 2157 +/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 +/home/cocci/testing/mm/slub.c:4347:2-8: preceding lock on line 4319 +/home/cocci/testing/mm/vmscan.c:798:1-7: preceding lock on line 714 @@ -158,29 +189,0 @@ -/home/cocci/testing/mm/migrate.c:820:1-7: preceding lock on line 772 -/home/cocci/testing/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c:1013:2-8: preceding lock on line 963 -/home/cocci/testing/fs/namei.c:3185:2-8: preceding lock on line 3180 -/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/drivers/iio/light/opt3001.c:735:1-7: preceding lock on line 693 -/home/cocci/testing/fs/fs-writeback.c:347:3-9: preceding lock on line 342 -/home/cocci/testing/arch/powerpc/kvm/book3s_hv.c:4557:0-1: preceding lock on line 4474 -/home/cocci/testing/mm/slub.c:4338:2-8: preceding lock on line 4310 -/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/net/netfilter/nf_conntrack_core.c:113:2-8: preceding lock on line 107 -/home/cocci/testing/arch/x86/mm/pat/set_memory.c:1833:1-7: preceding lock on line 1807 -/home/cocci/testing/mm/vmscan.c:778:1-7: preceding lock on line 694 -/home/cocci/testing/fs/dcache.c:668:2-8: preceding lock on line 660 -/home/cocci/testing/drivers/iio/industrialio-core.c:2150:2-8: preceding lock on line 2147 -/home/cocci/testing/drivers/staging/rtl8192e/rtllib_rx.c:707:3-9: preceding lock on line 698 -/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/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/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 -/home/cocci/testing/arch/powerpc/platforms/cell/spufs/inode.c:456:1-7: preceding lock on line 430 -/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 -/home/cocci/testing/fs/aio.c:1719:3-9: preceding lock on line 1717 @@ -195,2 +198,5 @@ -/home/cocci/testing/drivers/md/md.c:464:2-8: preceding lock on line 462 -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/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/fs-writeback.c:347:3-9: preceding lock on line 342 +/home/cocci/testing/arch/powerpc/kvm/book3s_hv.c:4655:0-1: preceding lock on line 4572 +/home/cocci/testing/fs/aio.c:1710:3-9: preceding lock on line 1708 @@ -201,2 +207,2 @@ -/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/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 @@ -205,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 @@ -211,2 +217,2 @@ -/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/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/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/arch/x86/kvm/lapic.c:1962:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. @@ -214 +219,0 @@ -/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. @@ -216 +221,2 @@ -/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:190: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:1828:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. @@ -218,3 +224,5 @@ -/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/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/mm/mm_init.c:2395:2-8: 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/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/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) @@ -222,0 +231 @@ +/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) @@ -226,3 +235 @@ -/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/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/drivers/pinctrl/pinctrl-mcp23s08.c:555:7-32: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) +/home/cocci/testing/drivers/pci/controller/dwc/pci-dra7xx.c:852:7-32: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) @@ -230,2 +236,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) -/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) @@ -233,20 +238,24 @@ -/home/cocci/testing/drivers/pci/controller/dwc/pci-dra7xx.c:852:7-32: WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ) -/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/pinctrl/pinctrl-mcp23s08.c:555:7-32: 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) +/home/cocci/testing/drivers/mailbox/mtk-cmdq-mailbox.c:587:8-14: ERROR: application of sizeof to pointer +/home/cocci/testing/drivers/input/touchscreen/himax_hx83112b.c:137:42-48: 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 | @@ -254,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 | @@ -262,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 | @@ -278 +287,2 @@ -/home/cocci/testing/drivers/input/serio/i8042.c:1133:6-11: Unneeded variable: "delay". Return "0" on line 1149 +/home/cocci/testing/drivers/pci/controller/dwc/pci-imx6.c:589:5-8: Unneeded variable: "ret". Return "0" on line 635 +/home/cocci/testing/fs/btrfs/send.c:7144:5-8: Unneeded variable: "ret". Return "0" on line 7150 @@ -280 +289,0 @@ -/home/cocci/testing/drivers/pci/controller/dwc/pci-imx6.c:591:5-8: Unneeded variable: "ret". Return "0" on line 637 @@ -283,3 +292,3 @@ -/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 -/home/cocci/testing/fs/btrfs/send.c:7144:5-8: Unneeded variable: "ret". Return "0" on line 7150 +/home/cocci/testing/arch/x86/kvm/emulate.c:4524:5-7: Unneeded variable: "rc". Return "X86EMUL_CONTINUE" on line 4558 +/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 @@ -287 +296,2 @@ -/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_glink.c:293:2-3: Unneeded semicolon +/home/cocci/testing/drivers/usb/typec/ucsi/ucsi_glink.c:266:2-3: Unneeded semicolon +/home/cocci/testing/arch/loongarch/kvm/exit.c:716:2-3: Unneeded semicolon @@ -289,4 +298,0 @@ -/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/mm/userfaultfd.c:1003:13-14: WARNING opportunity for swap() @@ -293,0 +300,2 @@ +/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 @@ -296,2 +304,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/drivers/scsi/qedf/qedf_main.c:4024:18-25: ERROR: qedf is NULL but dereferenced. +/home/cocci/testing/drivers/staging/greybus/bootrom.c:301:35-39: ERROR: fw is NULL but dereferenced. @@ -301,6 +309,5 @@ -/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: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. @@ -308,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/staging/greybus/bootrom.c:301:35-39: ERROR: fw 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. @@ -312,9 +318,5 @@ -/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/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 | @@ -322 +324 @@ -/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 | @@ -324,15 +326,20 @@ -/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/arch/powerpc/include/asm/mmu.h:150:2-20: duplicated argument to & or | +/home/cocci/testing/drivers/usb/storage/usb.c:579:4-13: duplicated argument to && or || +/home/cocci/testing/drivers/pci/pci.c:6853:6-10: duplicated argument to && or || +/home/cocci/testing/drivers/scsi/sd.c:2445:6-16: WARNING: Unsigned expression compared with zero: the_result > 0 @@ -340 +346,0 @@ -/home/cocci/testing/drivers/scsi/sd.c:2444:6-16: WARNING: Unsigned expression compared with zero: the_result > 0 Per-file breakdown --- /tmp/tmp.DOUpPrCSs8 2024-07-25 01:50:29.020297689 -0700 +++ /tmp/tmp.reym54Vro1 2024-07-25 01:50:29.030297759 -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 @@ -46,0 +50 @@ + 1 /drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -52 +55,0 @@ - 1 /drivers/pcmcia/yenta_socket.c @@ -72,0 +76 @@ + 2 /drivers/usb/typec/ucsi/ucsi.c @@ -96,0 +101 @@ + 1 /include/linux/min_heap.h @@ -104 +109 @@ - 4 /kernel/exit.c + 5 /kernel/exit.c @@ -108 +112,0 @@ - 3 /lib/bch.c @@ -123 +126,0 @@ - 1 /mm/userfaultfd.c