New errors added --- /home/cocci/outputs/results/636741/old-filtered 2024-06-12 09:36:47.514738046 -0700 +++ /home/cocci/outputs/results/636741/new-filtered 2024-06-12 09:36:47.524738118 -0700 @@ -8,2 +8,2 @@ -/home/cocci/testing/fs/btrfs/extent_io.c:4058:5-24: WARNING: atomic_dec_and_test variation before object free at line 4065. -/home/cocci/testing/fs/btrfs/extent_io.c:4058:5-24: WARNING: atomic_dec_and_test variation before object free at line 4072. +/home/cocci/testing/fs/btrfs/extent_io.c:4060:5-24: WARNING: atomic_dec_and_test variation before object free at line 4067. +/home/cocci/testing/fs/btrfs/extent_io.c:4060:5-24: WARNING: atomic_dec_and_test variation before object free at line 4074. @@ -16 +16 @@ -/home/cocci/testing/drivers/hid/hid-logitech-hidpp.c:2540:1-6: WARNING: invalid free of devm_ allocated data +/home/cocci/testing/drivers/hid/hid-logitech-hidpp.c:2541:1-6: WARNING: invalid free of devm_ allocated data @@ -26 +25,0 @@ -/home/cocci/testing/net/unix/garbage.c:457:17-23: ERROR: invalid reference to the index variable of the iterator on line 489 @@ -28,10 +27 @@ -/home/cocci/testing/mm/hugetlb.c:6500:2-8: preceding lock on line 6466 -/home/cocci/testing/mm/hugetlb.c:5983:2-8: preceding lock on line 6041 -/home/cocci/testing/mm/hugetlb.c:5983:2-8: preceding lock on line 6043 -/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/smc/af_smc.c:2553:0-1: preceding lock on line 2480 -/home/cocci/testing/io_uring/register.c:386:1-7: preceding lock on line 333 -/home/cocci/testing/mm/slub.c:4310:2-8: preceding lock on line 4282 -/home/cocci/testing/drivers/block/null_blk/main.c:1057:2-8: preceding lock on line 1094 -/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 +/home/cocci/testing/net/unix/garbage.c:451:17-23: ERROR: invalid reference to the index variable of the iterator on line 483 @@ -39,2 +28,0 @@ -/home/cocci/testing/net/unix/af_unix.c:2476:1-7: preceding lock on line 2385 -/home/cocci/testing/net/unix/af_unix.c:3243:3-9: preceding lock on line 3239 @@ -43,0 +32,14 @@ +/home/cocci/testing/io_uring/register.c:390:1-7: preceding lock on line 333 +/home/cocci/testing/io_uring/register.c:390:1-7: preceding lock on line 334 +/home/cocci/testing/net/unix/af_unix.c:2513:1-7: preceding lock on line 2422 +/home/cocci/testing/net/unix/af_unix.c:3280:3-9: preceding lock on line 3276 +/home/cocci/testing/mm/vmalloc.c:1086:3-9: preceding lock on line 1082 +/home/cocci/testing/net/smc/af_smc.c:2562:0-1: preceding lock on line 2489 +/home/cocci/testing/drivers/block/null_blk/main.c:1057:2-8: preceding lock on line 1094 +/home/cocci/testing/mm/hugetlb.c:6512:2-8: preceding lock on line 6478 +/home/cocci/testing/mm/hugetlb.c:5995:2-8: preceding lock on line 6053 +/home/cocci/testing/mm/hugetlb.c:5995:2-8: preceding lock on line 6055 +/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/mm/slub.c:4311:2-8: preceding lock on line 4283 +/home/cocci/testing/io_uring/napi.c:286:4-10: WARNING: do_div() does a 64-by-32 division, please consider using div64_s64 instead. @@ -45,13 +47 @@ -/home/cocci/testing/drivers/gpu/drm/amd/include/pptable.h:679:43-50: 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/gpu/drm/amd/include/pptable.h:557:34-41: 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/gpu/drm/amd/include/pptable.h:517:47-54: 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/gpu/drm/amd/include/pptable.h:533:42-49: 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/gpu/drm/amd/include/pptable.h:572:42-49: 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/gpu/drm/amd/include/pptable.h:642:46-53: 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/gpu/drm/amd/include/pptable.h:596:46-53: 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/gpu/drm/amd/include/pptable.h:608:32-39: 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/gpu/drm/amd/include/pptable.h:748:43-50: 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/gpu/drm/amd/include/pptable.h:483:24-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/drivers/gpu/drm/amd/include/pptable.h:630:17-24: 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/gpu/drm/amd/include/pptable.h:584:17-24: 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/net/ethernet/sfc/tc.c:1587:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD +/home/cocci/testing/drivers/net/ethernet/sfc/tc.c:1584:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD @@ -59 +49,2 @@ -/home/cocci/testing/drivers/pci/pci.c:6791:6-10: duplicated argument to && or || +/home/cocci/testing/drivers/scsi/qedf/qedf_main.c:4024:18-25: ERROR: qedf is NULL but dereferenced. +/home/cocci/testing/drivers/pci/pci.c:6790:6-10: duplicated argument to && or || Per-file breakdown