Searched refs:msg (Results 1 – 25 of 61) sorted by relevance
123
/scripts/coccinelle/api/alloc/ |
D | zalloc-simple.cocci | 151 msg="%s" % (x) 152 msg_safe=msg.replace("[","@(").replace("]",")") 160 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x) 161 coccilib.report.print_report(p[0], msg) 181 msg="%s" % (x) 182 msg_safe=msg.replace("[","@(").replace("]",")") 190 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x) 191 coccilib.report.print_report(p[0], msg) 211 msg="%s" % (x) 212 msg_safe=msg.replace("[","@(").replace("]",")") [all …]
|
D | pool_zalloc-simple.cocci | 75 msg="%s" % (x) 76 msg_safe=msg.replace("[","@(").replace("]",")") 84 msg="WARNING: *_pool_zalloc should be used for %s, instead of *_pool_alloc/memset" % (x) 85 coccilib.report.print_report(p[0], msg)
|
/scripts/coccinelle/api/ |
D | platform_no_drv_owner.cocci | 127 msg = "No need to set .owner here. The core will do it." 128 coccilib.org.print_todo(j0[0], msg) 134 msg = "No need to set .owner here. The core will do it." 135 coccilib.org.print_todo(j0[0], msg) 141 msg = "No need to set .owner here. The core will do it." 142 coccilib.org.print_todo(j0[0], msg) 148 msg = "No need to set .owner here. The core will do it." 149 coccilib.org.print_todo(j0[0], msg) 157 msg = "No need to set .owner here. The core will do it." 158 coccilib.report.print_report(j0[0], msg) [all …]
|
D | resource_size.cocci | 67 msg="ERROR with %s" % (x) 68 msg_safe=msg.replace("[","@(").replace("]",")") 76 msg="ERROR: Missing resource_size with %s" % (x) 77 coccilib.report.print_report(p[0], msg) 84 msg="WARNING with %s" % (x) 85 msg_safe=msg.replace("[","@(").replace("]",")") 93 msg="WARNING: Suspicious code. resource_size is maybe missing with %s" % (x) 94 coccilib.report.print_report(p[0], msg)
|
D | atomic_as_refcounter.cocci | 58 msg = "atomic_dec_and_test variation before object free at line %s." 59 coccilib.report.print_report(p1[0], msg % (p2[0].line)) 91 msg = "atomic_dec_and_test variation before object free at line %s." 92 coccilib.report.print_report(p1[0], msg % (p2[0].line)) 110 msg = "atomic_add_unless" 111 coccilib.report.print_report(p1[0], msg) 129 msg = "x = atomic_add_return(-1, ...)" 130 coccilib.report.print_report(p1[0], msg)
|
D | check_bq27xxx_data.cocci | 18 let print_report p msg = 20 Printf.printf "%s:%d:%d-%d: %s" p.file p.line p.col p.col_end msg 86 let msg = 90 print_report p1 msg 122 let msg = 126 print_report p1 msg 158 let msg = 162 print_report p1 msg
|
D | vma_pages.cocci | 51 msg="WARNING: Consider using vma_pages helper on %s" % (x) 52 coccilib.report.print_report(p[0], msg) 59 msg="WARNING: Consider using vma_pages helper on %s" % (x) 60 msg_safe=msg.replace("[","@(").replace("]",")")
|
D | err_cast.cocci | 47 msg="WARNING ERR_CAST can be used with %s" % (x) 48 msg_safe=msg.replace("[","@(").replace("]",")") 56 msg="WARNING: ERR_CAST can be used with %s" % (x) 57 coccilib.report.print_report(p[0], msg)
|
D | kstrdup.cocci | 96 msg = "WARNING opportunity for kstrdup (strcpy on line %s)" % (p2[0].line) 97 coccilib.report.print_report(p1[0], msg) 104 msg = "WARNING opportunity for kstrdup (memcpy on line %s)" % (p2[0].line) 105 coccilib.report.print_report(p1[0], msg)
|
/scripts/coccinelle/misc/ |
D | boolconv.cocci | 79 msg = "WARNING: conversion to bool not needed here" 80 coccilib.org.print_todo(p[0], msg) 90 msg = "WARNING: conversion to bool not needed here" 91 coccilib.report.print_report(p[0], msg)
|
D | warn.cocci | 41 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 42 coccilib.report.print_report(p[0],msg) 90 msg = "SUGGESTION: printk + WARN_ON_ONCE can be just WARN_ONCE" 91 coccilib.report.print_report(p[0],msg)
|
D | irqf_oneshot.cocci | 106 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT" 107 coccilib.org.print_todo(p[0],msg) 112 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT" 113 coccilib.report.print_report(p[0],msg)
|
D | boolreturn.cocci | 58 msg = "WARNING: return of 0/1 in function '%s' with return type bool" % fn 59 coccilib.report.print_report(p[0], msg)
|
D | ifaddr.cocci | 34 msg = "ERROR: test of a variable/field address" 35 coccilib.report.print_report(p[0],msg)
|
D | cstptr.cocci | 41 msg = "ERROR: PTR_ERR applied after initialization to constant on line %s" % (p1[0].line) 42 coccilib.report.print_report(p2[0],msg)
|
/scripts/gdb/linux/ |
D | dmesg.py | 69 msg = u"[{time:12.6f}] {line}\n".format( 75 msg = msg.encode(encoding='utf8', errors='replace') 76 gdb.write(msg)
|
/scripts/coccinelle/free/ |
D | pci_free_consistent.cocci | 43 msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freei… 44 coccilib.report.print_report(p2[0],msg) 51 msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freei… 52 cocci.print_main(msg,p1)
|
D | kfreeaddr.cocci | 36 msg = "ERROR: invalid free of structure field" 37 coccilib.report.print_report(p[0],msg)
|
D | devm_free.cocci | 142 msg="WARNING: invalid free of devm_ allocated data" 143 coccilib.org.print_todo(p[0], msg) 149 msg="WARNING: invalid free of devm_ allocated data" 150 coccilib.report.print_report(p[0], msg)
|
/scripts/coccinelle/api/debugfs/ |
D | debugfs_simple_attr.cocci | 60 msg="%s should be defined with DEFINE_DEBUGFS_ATTRIBUTE" % (fops) 61 coccilib.org.print_todo(p[0], msg) 67 msg="WARNING: %s should be defined with DEFINE_DEBUGFS_ATTRIBUTE" % (fops) 68 coccilib.report.print_report(p[0], msg)
|
/scripts/coccinelle/iterators/ |
D | device_node_continue.cocci | 93 msg = "ERROR: probable double put." 94 coccilib.org.print_todo(j0[0], msg) 102 msg = "ERROR: probable double put." 103 coccilib.report.print_report(j0[0], msg)
|
/scripts/coccinelle/null/ |
D | deref_null.cocci | 98 msg="ERROR: %s is NULL but dereferenced." % (x) 99 coccilib.report.print_report(p[0], msg) 108 msg="ERROR: %s is NULL but dereferenced." % (x) 109 msg_safe=msg.replace("[","@(").replace("]",")") 158 msg="ERROR: %s is NULL but dereferenced." % (x) 159 coccilib.report.print_report(p[0], msg) 167 msg="ERROR: %s is NULL but dereferenced." % (x) 168 msg_safe=msg.replace("[","@(").replace("]",")")
|
/scripts/coccinelle/tests/ |
D | odd_ptr_err.cocci | 105 msg = "inconsistent IS_ERR and PTR_ERR" 106 coccilib.org.print_todo(j0[0], msg) 116 msg = "inconsistent IS_ERR and PTR_ERR on line %s." % (j1[0].line) 117 coccilib.report.print_report(j0[0], msg)
|
D | unsigned_lesser_than_zero.cocci | 67 msg = "WARNING: Unsigned expression compared with zero: %s" % (e) 68 coccilib.org.print_todo(p[0], msg) 75 msg = "WARNING: Unsigned expression compared with zero: %s" % (e) 76 coccilib.report.print_report(p[0], msg)
|
/scripts/ |
D | headerdep.pl | 127 my $msg = "In file included"; 128 printf "%s from %s,\n", $msg, $last->[1] if defined $last; 132 " " x length $msg,
|
123