Commit 40e44ef
perf trace: Deal with compiler const checks
commit 2c85060 upstream.
The strchr() function these days return const/non-const based on the arg
it receives, and sometimes we need to use casts when we're dealing with
variables that are used in code that needs to safely change the returned
value and sometimes not (as it points to really const areas).
Tweak one such case.
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 30bbd7e commit 40e44ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5169 | 5169 | | |
5170 | 5170 | | |
5171 | 5171 | | |
5172 | | - | |
| 5172 | + | |
5173 | 5173 | | |
5174 | 5174 | | |
5175 | 5175 | | |
| |||
0 commit comments