]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing, RAS: Cleanup on __get_str() usage
authorDaniel Bristot de Oliveira <bristot@redhat.com>
Fri, 1 Jul 2016 23:44:35 +0000 (20:44 -0300)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Jul 2016 19:51:16 +0000 (15:51 -0400)
commita17167ce1110e576f7032b98deeb6ec800f39c7a
treec202b0993055c64dd8b78b2bda066472f7177c5b
parent934de5f2eac35f34954166cdb47af3593451658a
tracing, RAS: Cleanup on __get_str() usage

__get_str(msg) does not need (char *) operator overloading to access
mgs's elements anymore. This patch substitutes
((char *)__get_str(msg))[0] usage to __get_str(msg)[0].

It is just a code cleanup, no changes on tracepoint ABI.

Link: http://lkml.kernel.org/r/6f2db5be7705da2cb483923320c91283d7c712a7.1467407618.git.bristot@redhat.com
Cc: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: Ingo Molnar <mingo@redhat.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/ras/ras_event.h