/linux-6.3-rc2/scripts/coccinelle/misc/ |
A D | array_size_dup.cocci | 43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line) 80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line) 108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line) 116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line) 138 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line) 146 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line) 172 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line) 180 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line) [all …]
|
A D | minmax.cocci | 173 coccilib.report.print_report(p0, "WARNING opportunity for max()") 180 coccilib.org.print_todo(p0, "WARNING opportunity for max()") 187 coccilib.report.print_report(p0, "WARNING opportunity for max()") 194 coccilib.org.print_todo(p0, "WARNING opportunity for max()") 201 coccilib.report.print_report(p0, "WARNING opportunity for min()") 208 coccilib.org.print_todo(p0, "WARNING opportunity for min()") 215 coccilib.report.print_report(p0, "WARNING opportunity for min()") 222 coccilib.org.print_todo(p0, "WARNING opportunity for min()")
|
A D | swap.cocci | 104 coccilib.report.print_report(p[0], "WARNING opportunity for swap()") 110 coccilib.org.print_todo(p[0], "WARNING opportunity for swap()") 116 coccilib.report.print_report(p[0], "WARNING opportunity for swap()") 122 coccilib.org.print_todo(p[0], "WARNING opportunity for swap()")
|
A D | excluded_middle.cocci | 33 coccilib.report.print_report(p[0], "WARNING !A || A && B is equivalent to !A || B") 39 coccilib.org.print_todo(p[0], "WARNING !A || A && B is equivalent to !A || B")
|
A D | boolconv.cocci | 79 msg = "WARNING: conversion to bool not needed here" 90 msg = "WARNING: conversion to bool not needed here"
|
A D | badty.cocci | 69 coccilib.org.print_todo(p[0], "WARNING sizeof argument should be pointer type, not structure type") 75 msg="WARNING: Use correct pointer type argument for sizeof"
|
A D | newline_in_nl_msg.cocci | 59 msg="WARNING avoid newline at end of message in %s" % (fname) 74 msg="WARNING avoid newline at end of message in %s" % (fname)
|
A D | array_size.cocci | 80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 86 msg="WARNING: Use ARRAY_SIZE"
|
A D | flexible_array.cocci | 99 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de… 106 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
|
A D | uninitialized_var.cocci | 50 coccilib.report.print_report(p[0], "WARNING this kind of initialization is deprecated") 56 coccilib.org.print_todo(p[0], "WARNING this kind of initialization is deprecated")
|
/linux-6.3-rc2/scripts/coccinelle/null/ |
A D | badzero.cocci | 74 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0") 80 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0") 172 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0, suggest !E") 178 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0") 184 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0, suggest !E") 190 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0") 233 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0") 239 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
|
/linux-6.3-rc2/scripts/dtc/ |
A D | checks.c | 54 #define WARNING(nm_, fn_, d_, ...) \ macro 220 WARNING(nm, check_is_string, (propname)) 249 WARNING(nm, check_is_string_list, (propname)) 267 WARNING(nm, check_is_cell, (propname)) 729 WARNING(alias_paths, check_alias_paths, NULL); 747 WARNING(addr_size_cells, fixup_addr_size_cells, NULL, 870 WARNING(pci_bridge, check_pci_bridge, NULL, 972 WARNING(simple_bus_bridge, check_simple_bus_bridge, NULL, 1326 WARNING(obsolete_chosen_interrupt_controller, 1779 WARNING(graph_nodes, check_graph_nodes, NULL); [all …]
|
/linux-6.3-rc2/scripts/coccinelle/api/ |
A D | kfree_mismatch.cocci | 169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line) 177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line) 185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line) 193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line) 201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line) 209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line) 218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li… 227 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
|
A D | atomic_as_refcounter.cocci | 58 msg = "WARNING: atomic_dec_and_test variation before object free at line %s." 91 msg = "WARNING: atomic_dec_and_test variation before object free at line %s." 110 msg = "WARNING: atomic_add_unless" 129 msg = "WARNING: x = atomic_add_return(-1, ...)"
|
A D | kstrdup.cocci | 80 cocci.print_main("WARNING opportunity for kstrdup",p1) 88 cocci.print_main("WARNING opportunity for kstrdup",p1) 96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line) 104 msg = "WARNING opportunity for kstrdup (memcpy on line %s)" % (p2[0].line)
|
A D | memdup_user.cocci | 101 coccilib.org.print_todo(p[0], "WARNING opportunity for memdup_user") 107 coccilib.report.print_report(p[0], "WARNING opportunity for memdup_user") 113 coccilib.org.print_todo(p[0], "WARNING opportunity for vmemdup_user") 119 coccilib.report.print_report(p[0], "WARNING opportunity for vmemdup_user")
|
A D | device_attr_show.cocci | 49 coccilib.report.print_report(p[0], "WARNING: use scnprintf or sprintf") 55 coccilib.org.print_todo(p[0], "WARNING: use scnprintf or sprintf")
|
A D | err_cast.cocci | 47 msg="WARNING ERR_CAST can be used with %s" % (x) 56 msg="WARNING: ERR_CAST can be used with %s" % (x)
|
A D | vma_pages.cocci | 51 msg="WARNING: Consider using vma_pages helper on %s" % (x) 59 msg="WARNING: Consider using vma_pages helper on %s" % (x)
|
A D | check_bq27xxx_data.cocci | 88 "WARNING %s and %s (line %d) are identical\n" 124 "WARNING %s and %s (line %d) are identical\n" 160 "WARNING %s and %s (line %d) are identical\n"
|
A D | memdup.cocci | 60 coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup") 66 coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
|
A D | resource_size.cocci | 84 msg="WARNING with %s" % (x) 93 msg="WARNING: Suspicious code. resource_size is maybe missing with %s" % (x)
|
/linux-6.3-rc2/drivers/iommu/amd/ |
A D | Kconfig | 38 !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
|
/linux-6.3-rc2/scripts/coccinelle/api/alloc/ |
A D | zalloc-simple.cocci | 170 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x) 200 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x) 230 msg="WARNING: dma_alloc_coherent used in %s already zeroes out memory, so memset is not needed" % (… 260 msg="WARNING: kzalloc_node should be used for %s, instead of kmalloc_node/memset" % (x) 290 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x) 320 msg="WARNING: kmem_zalloc should be used for %s, instead of kmem_alloc/memset" % (x) 350 msg="WARNING: devm_kzalloc should be used for %s, instead of devm_kmalloc/memset" % (x) 380 msg="WARNING: kvzalloc should be used for %s, instead of kvmalloc/memset" % (x) 410 msg="WARNING: kvzalloc_node should be used for %s, instead of kvmalloc_node/memset" % (x)
|
/linux-6.3-rc2/scripts/coccinelle/iterators/ |
A D | for_each_child.cocci | 307 msg = "WARNING: Function \"%s\" should have of_node_put() before return " % (i) 317 msg = "WARNING: Function \"%s\" should have of_node_put() before break " % (i) 327 msg = "WARNING: Function \"%s\" should have of_node_put() before goto " % (i) 339 msg = "WARNING: Function \"%s\" should have of_node_put() before return around line %s." % (i, j1[0… 348 msg = "WARNING: Function \"%s\" should have of_node_put() before break around line %s." % (i,j2[0].… 357 msg = "WARNING: Function \"%s\" should have of_node_put() before goto around lines %s." % (i,j3[0].…
|