These parameters are passed by value. There's no need to make them const.

Signed-off-by: Xie XiuQi <xiexi...@huawei.com>
---
 include/ras/ras_event.h | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/include/ras/ras_event.h b/include/ras/ras_event.h
index 79abb9c..b714b22 100644
--- a/include/ras/ras_event.h
+++ b/include/ras/ras_event.h
@@ -95,16 +95,16 @@ TRACE_EVENT(extlog_mem_event,
  */
 TRACE_EVENT(mc_event,
 
-       TP_PROTO(const unsigned int err_type,
+       TP_PROTO(unsigned int err_type,
                 const char *error_msg,
                 const char *label,
-                const int error_count,
-                const u8 mc_index,
-                const s8 top_layer,
-                const s8 mid_layer,
-                const s8 low_layer,
+                int error_count,
+                u8 mc_index,
+                s8 top_layer,
+                s8 mid_layer,
+                s8 low_layer,
                 unsigned long address,
-                const u8 grain_bits,
+                u8 grain_bits,
                 unsigned long syndrome,
                 const char *driver_detail),
 
@@ -205,8 +205,8 @@ TRACE_EVENT(mc_event,
 
 TRACE_EVENT(aer_event,
        TP_PROTO(const char *dev_name,
-                const u32 status,
-                const u8 severity),
+                u32 status,
+                u8 severity),
 
        TP_ARGS(dev_name, status, severity),
 
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to