lkml.org 
[lkml]   [2024]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] tracing/treewide: Remove second parameter of __assign_str()
Date
On Thu, 16 May 2024, Steven Rostedt <rostedt@goodmis.org> wrote:
> There's over 700 users of __assign_str() and because coccinelle does not
> handle the TRACE_EVENT() macro I ended up using the following sed script:
>
> git grep -l __assign_str | while read a ; do
> sed -e 's/\(__assign_str([^,]*[^ ,]\) *,[^;]*/\1)/' $a > /tmp/test-file;
> mv /tmp/test-file $a;
> done

Try 'sed -i' ;)

> .../drm/i915/display/intel_display_trace.h | 56 ++++-----

On i915,

Acked-by: Jani Nikula <jani.nikula@intel.com>

--
Jani Nikula, Intel

\
 
 \ /
  Last update: 2024-05-27 18:30    [W:0.104 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site