/Linux-v5.4/scripts/coccinelle/api/ |
D | ptr_ret.cocci | 66 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")
|
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)
|
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)
|
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)
|
D | memdup_user.cocci | 55 coccilib.org.print_todo(p[0], "WARNING opportunity for memdup_user") 61 coccilib.report.print_report(p[0], "WARNING opportunity for memdup_user")
|
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"
|
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")
|
D | resource_size.cocci | 84 msg="WARNING with %s" % (x) 93 msg="WARNING: Suspicious code. resource_size is maybe missing with %s" % (x)
|
D | stream_open.cocci | 239 …"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/ |
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-v5.4/scripts/coccinelle/misc/ |
D | boolinit.cocci | 153 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")
|
D | boolconv.cocci | 79 msg = "WARNING: conversion to bool not needed here" 90 msg = "WARNING: conversion to bool not needed here"
|
D | bugon.cocci | 55 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…
|
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"
|
D | array_size.cocci | 80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 86 msg="WARNING: Use ARRAY_SIZE"
|
D | cond_no_effect.cocci | 59 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)")
|
D | boolreturn.cocci | 58 msg = "WARNING: return of 0/1 in function '%s' with return type bool" % fn
|
/Linux-v5.4/scripts/dtc/ |
D | checks.c | 54 #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/ |
D | zalloc-simple.cocci | 160 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/ |
D | Kconfig | 26 WARNING: changing the HMAC calculation method or adding 43 WARNING: changing the HMAC calculation method or adding
|
/Linux-v5.4/scripts/coccinelle/tests/ |
D | unsigned_lesser_than_zero.cocci | 67 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/ |
D | devm_free.cocci | 142 msg="WARNING: invalid free of devm_ allocated data" 149 msg="WARNING: invalid free of devm_ allocated data"
|
/Linux-v5.4/drivers/usb/musb/ |
D | musb_debug.h | 16 #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) macro
|
/Linux-v5.4/tools/testing/selftests/rcutorture/bin/ |
D | functions.sh | 250 # Prints "WARNING: " in yellow followed by remaining arguments
|
/Linux-v5.4/sound/pci/asihpi/ |
D | hpios.c | 51 HPI_DEBUG_LOG(WARNING, in hpios_locked_mem_alloc()
|