Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 61) sorted by relevance

123

/scripts/coccinelle/api/alloc/
Dzalloc-simple.cocci151 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 …]
Dpool_zalloc-simple.cocci75 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/
Dplatform_no_drv_owner.cocci127 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 …]
Dresource_size.cocci67 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)
Datomic_as_refcounter.cocci58 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)
Dcheck_bq27xxx_data.cocci18 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
Dvma_pages.cocci51 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("]",")")
Derr_cast.cocci47 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)
Dkstrdup.cocci96 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/
Dboolconv.cocci79 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)
Dwarn.cocci41 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)
Dirqf_oneshot.cocci106 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)
Dboolreturn.cocci58 msg = "WARNING: return of 0/1 in function '%s' with return type bool" % fn
59 coccilib.report.print_report(p[0], msg)
Difaddr.cocci34 msg = "ERROR: test of a variable/field address"
35 coccilib.report.print_report(p[0],msg)
Dcstptr.cocci41 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/
Ddmesg.py69 msg = u"[{time:12.6f}] {line}\n".format(
75 msg = msg.encode(encoding='utf8', errors='replace')
76 gdb.write(msg)
/scripts/coccinelle/free/
Dpci_free_consistent.cocci43 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)
Dkfreeaddr.cocci36 msg = "ERROR: invalid free of structure field"
37 coccilib.report.print_report(p[0],msg)
Ddevm_free.cocci142 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/
Ddebugfs_simple_attr.cocci60 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/
Ddevice_node_continue.cocci93 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/
Dderef_null.cocci98 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/
Dodd_ptr_err.cocci105 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)
Dunsigned_lesser_than_zero.cocci67 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/
Dheaderdep.pl127 my $msg = "In file included";
128 printf "%s from %s,\n", $msg, $last->[1] if defined $last;
132 " " x length $msg,

123