Patch "devlink: Fix TP_STRUCT_entry in trace of devlink health report" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    devlink: Fix TP_STRUCT_entry in trace of devlink health report

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     devlink-fix-tp_struct_entry-in-trace-of-devlink-heal.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8f34c13b8f21c44e25b3d06e5e13a12a01ed0499
Author: Moshe Shemesh <moshe@xxxxxxxxxx>
Date:   Tue Feb 14 18:38:06 2023 +0200

    devlink: Fix TP_STRUCT_entry in trace of devlink health report
    
    [ Upstream commit d0ab772c1f1558af84f3293a52e9e886e08e0754 ]
    
    Fix a bug in trace point definition for devlink health report, as
    TP_STRUCT_entry of reporter_name should get reporter_name and not msg.
    
    Note no fixes tag as this is a harmless bug as both reporter_name and
    msg are strings and TP_fast_assign for this entry is correct.
    
    Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxx>
    Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/trace/events/devlink.h b/include/trace/events/devlink.h
index 24969184c5348..77ff7cfc6049a 100644
--- a/include/trace/events/devlink.h
+++ b/include/trace/events/devlink.h
@@ -88,7 +88,7 @@ TRACE_EVENT(devlink_health_report,
 		__string(bus_name, devlink_to_dev(devlink)->bus->name)
 		__string(dev_name, dev_name(devlink_to_dev(devlink)))
 		__string(driver_name, devlink_to_dev(devlink)->driver->name)
-		__string(reporter_name, msg)
+		__string(reporter_name, reporter_name)
 		__string(msg, msg)
 	),
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux