Home
last modified time | relevance | path

Searched refs:WARNING (Results 1 – 25 of 167) sorted by relevance

1234567

/linux-6.3-rc2/scripts/coccinelle/misc/
A Darray_size_dup.cocci43 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 Dminmax.cocci173 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 Dswap.cocci104 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 Dexcluded_middle.cocci33 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 Dboolconv.cocci79 msg = "WARNING: conversion to bool not needed here"
90 msg = "WARNING: conversion to bool not needed here"
A Dbadty.cocci69 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 Dnewline_in_nl_msg.cocci59 msg="WARNING avoid newline at end of message in %s" % (fname)
74 msg="WARNING avoid newline at end of message in %s" % (fname)
A Darray_size.cocci80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE")
86 msg="WARNING: Use ARRAY_SIZE"
A Dflexible_array.cocci99 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 Duninitialized_var.cocci50 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 Dbadzero.cocci74 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 Dchecks.c54 #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 Dkfree_mismatch.cocci169 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 Datomic_as_refcounter.cocci58 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 Dkstrdup.cocci80 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 Dmemdup_user.cocci101 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 Ddevice_attr_show.cocci49 coccilib.report.print_report(p[0], "WARNING: use scnprintf or sprintf")
55 coccilib.org.print_todo(p[0], "WARNING: use scnprintf or sprintf")
A Derr_cast.cocci47 msg="WARNING ERR_CAST can be used with %s" % (x)
56 msg="WARNING: ERR_CAST can be used with %s" % (x)
A Dvma_pages.cocci51 msg="WARNING: Consider using vma_pages helper on %s" % (x)
59 msg="WARNING: Consider using vma_pages helper on %s" % (x)
A Dcheck_bq27xxx_data.cocci88 "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 Dmemdup.cocci60 coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
66 coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
A Dresource_size.cocci84 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 DKconfig38 !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
/linux-6.3-rc2/scripts/coccinelle/api/alloc/
A Dzalloc-simple.cocci170 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 Dfor_each_child.cocci307 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].…

Completed in 27 milliseconds

1234567