Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/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 …]
Dboolinit.cocci153 cocci.print_main("WARNING: Comparison to bool",p)
159 cocci.print_main("WARNING: Comparison of 0/1 to bool variable",p)
165 cocci.print_main("WARNING: Assignment of 0/1 to bool variable",p1)
177 coccilib.report.print_report(p[0],"WARNING: Comparison to bool")
183 coccilib.report.print_report(p[0],"WARNING: Comparison of 0/1 to bool variable")
189 coccilib.report.print_report(p1[0],"WARNING: Assignment of 0/1 to bool variable")
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"
Dbugon.cocci55 coccilib.org.print_todo(p[0], "WARNING use BUG_ON")
61 msg="WARNING: Use BUG_ON instead of if condition followed by BUG.\nPlease make sure the condition h…
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)
Dflexible_array.cocci80 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
87 msg = "WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/de…
Duninitialized_var.cocci44 …"WARNING this kind of initialization is deprecated (https://www.kernel.org/doc/html/latest/process…
51 …"WARNING this kind of initialization is deprecated (https://www.kernel.org/doc/html/latest/process…
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dptr_ret.cocci66 coccilib.org.print_todo(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
73 coccilib.org.print_todo(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
79 coccilib.org.print_todo(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
85 coccilib.report.print_report(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
91 coccilib.report.print_report(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
97 coccilib.report.print_report(p[0], "WARNING: PTR_ERR_OR_ZERO can be used")
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…
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")
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)
Dkobj_to_dev.cocci39 coccilib.report.print_report(p[0], "WARNING opportunity for kobj_to_dev()")
45 coccilib.org.print_todo(p[0], "WARNING opportunity for kobj_to_dev()")
Derr_cast.cocci47 msg="WARNING ERR_CAST can be used with %s" % (x)
56 msg="WARNING: ERR_CAST can be used with %s" % (x)
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")
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")
/kernel/linux/linux-5.10/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")
/kernel/linux/linux-5.10/scripts/dtc/
Dchecks.c54 #define WARNING(nm_, fn_, d_, ...) \ macro
212 WARNING(nm, check_is_string, (propname))
241 WARNING(nm, check_is_string_list, (propname))
259 WARNING(nm, check_is_cell, (propname))
358 WARNING(unit_address_vs_reg, check_unit_address_vs_reg, NULL);
683 WARNING(names_is_string_list, check_names_is_string_list, NULL);
708 WARNING(alias_paths, check_alias_paths, NULL);
726 WARNING(addr_size_cells, fixup_addr_size_cells, NULL,
761 WARNING(reg_format, check_reg_format, NULL, &addr_size_cells);
804 WARNING(ranges_format, check_ranges_format, "ranges", &addr_size_cells);
[all …]
/kernel/linux/linux-5.10/drivers/iommu/amd/
DKconfig38 !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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].…
/kernel/linux/linux-5.10/tools/testing/selftests/lkdtm/
Dtests.txt3 WARNING WARNING:

1234567