Home
last modified time | relevance | path

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

123456

/Linux-v5.4/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")
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)
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)
Dmemdup_user.cocci55 coccilib.org.print_todo(p[0], "WARNING opportunity for memdup_user")
61 coccilib.report.print_report(p[0], "WARNING opportunity for memdup_user")
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)
Dstream_open.cocci239 …"WARNING: %s: .read() and .write() have stream semantic; safe to change nonseekable_open -> stream…
299 …"WARNING: %s: .read() has stream semantic; safe to change nonseekable_open -> stream_open." % (fop…
347 …"WARNING: %s: .write() has stream semantic; safe to change nonseekable_open -> stream_open." % (fo…
/Linux-v5.4/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-v5.4/scripts/coccinelle/misc/
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")
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"
Darray_size.cocci80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE")
86 msg="WARNING: Use ARRAY_SIZE"
Dcond_no_effect.cocci59 cocci.print_main("WARNING: possible condition with no effect (if == else)",p)
65 coccilib.report.print_report(p[0],"WARNING: possible condition with no effect (if == else)")
Dboolreturn.cocci58 msg = "WARNING: return of 0/1 in function '%s' with return type bool" % fn
/Linux-v5.4/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);
703 WARNING(alias_paths, check_alias_paths, NULL);
721 WARNING(addr_size_cells, fixup_addr_size_cells, NULL,
756 WARNING(reg_format, check_reg_format, NULL, &addr_size_cells);
797 WARNING(ranges_format, check_ranges_format, NULL, &addr_size_cells);
[all …]
/Linux-v5.4/scripts/coccinelle/api/alloc/
Dzalloc-simple.cocci160 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x)
190 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
220 msg="WARNING: dma_alloc_coherent use in %s already zeroes out memory, so memset is not needed" % (…
250 msg="WARNING: kzalloc_node should be used for %s, instead of kmalloc_node/memset" % (x)
280 msg="WARNING: kmem_cache_zalloc should be used for %s, instead of kmem_cache_alloc/memset" % (x)
310 msg="WARNING: kmem_zalloc should be used for %s, instead of kmem_alloc/memset" % (x)
340 msg="WARNING: devm_kzalloc should be used for %s, instead of devm_kmalloc/memset" % (x)
370 msg="WARNING: kvzalloc should be used for %s, instead of kvmalloc/memset" % (x)
400 msg="WARNING: kvzalloc_node should be used for %s, instead of kvmalloc_node/memset" % (x)
/Linux-v5.4/security/integrity/evm/
DKconfig26 WARNING: changing the HMAC calculation method or adding
43 WARNING: changing the HMAC calculation method or adding
/Linux-v5.4/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci67 msg = "WARNING: Unsigned expression compared with zero: %s" % (e)
75 msg = "WARNING: Unsigned expression compared with zero: %s" % (e)
/Linux-v5.4/scripts/coccinelle/free/
Ddevm_free.cocci142 msg="WARNING: invalid free of devm_ allocated data"
149 msg="WARNING: invalid free of devm_ allocated data"
/Linux-v5.4/drivers/usb/musb/
Dmusb_debug.h16 #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) macro
/Linux-v5.4/tools/testing/selftests/rcutorture/bin/
Dfunctions.sh250 # Prints "WARNING: " in yellow followed by remaining arguments
/Linux-v5.4/sound/pci/asihpi/
Dhpios.c51 HPI_DEBUG_LOG(WARNING, in hpios_locked_mem_alloc()

123456