Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/scripts/coccinelle/misc/
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 …]
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()")
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()")
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")
Dboolconv.cocci79 msg = "WARNING: conversion to bool not needed here"
90 msg = "WARNING: conversion to bool not needed here"
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"
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)
Darray_size.cocci80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE")
86 msg="WARNING: Use ARRAY_SIZE"
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…
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.1.9/scripts/coccinelle/null/
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.1.9/scripts/dtc/
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))
353 WARNING(node_name_vs_property_name, check_node_name_vs_property_name,
381 WARNING(unit_address_vs_reg, check_unit_address_vs_reg, NULL);
704 WARNING(names_is_string_list, check_names_is_string_list, NULL);
729 WARNING(alias_paths, check_alias_paths, NULL);
747 WARNING(addr_size_cells, fixup_addr_size_cells, NULL,
782 WARNING(reg_format, check_reg_format, NULL, &addr_size_cells);
[all …]
/linux-6.1.9/scripts/coccinelle/api/
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…
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)
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")
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")
Derr_cast.cocci47 msg="WARNING ERR_CAST can be used with %s" % (x)
56 msg="WARNING: ERR_CAST can be used with %s" % (x)
Dvma_pages.cocci51 msg="WARNING: Consider using vma_pages helper on %s" % (x)
59 msg="WARNING: Consider using vma_pages helper on %s" % (x)
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"
Dmemdup.cocci60 coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
66 coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
Dresource_size.cocci84 msg="WARNING with %s" % (x)
93 msg="WARNING: Suspicious code. resource_size is maybe missing with %s" % (x)
/linux-6.1.9/drivers/iommu/amd/
DKconfig38 !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
/linux-6.1.9/scripts/coccinelle/api/alloc/
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.1.9/scripts/coccinelle/iterators/
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].…
/linux-6.1.9/tools/testing/selftests/lkdtm/
Dtests.txt3 WARNING WARNING:

1234567