diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-21 19:03:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-12-21 19:03:42 -0800 |
commit | 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8 (patch) | |
tree | c52592759a0b3bcfeaf354bcd013da50998bd85c /tools/verification | |
parent | af9b3fa15d6d99d948bcaca5a036ad2b292c8e8a (diff) | |
parent | bfa87ac86ce9ff879c5ac49bf09c3999859a8968 (diff) | |
download | linux-stable-9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8.tar.gz linux-stable-9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8.tar.bz2 linux-stable-9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8.zip |
Merge tag 'trace-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fix from Steven Rostedt:
"I missed this minor hardening of the kernel in the first pull.
- Make monitor structures read only"
* tag 'trace-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
rv/monitors: Move monitor structure in rodata
Diffstat (limited to 'tools/verification')
-rw-r--r-- | tools/verification/dot2/dot2c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/verification/dot2/dot2c.py b/tools/verification/dot2/dot2c.py index be8a364a469b..87d8a1e1470c 100644 --- a/tools/verification/dot2/dot2c.py +++ b/tools/verification/dot2/dot2c.py @@ -111,7 +111,7 @@ class Dot2c(Automata): def format_aut_init_header(self): buff = [] - buff.append("static struct %s %s = {" % (self.struct_automaton_def, self.var_automaton_def)) + buff.append("static const struct %s %s = {" % (self.struct_automaton_def, self.var_automaton_def)) return buff def __get_string_vector_per_line_content(self, buff): |