]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: Add a sysfs count of total outstanding messages for an interface
authorCorey Minyard <cminyard@mvista.com>
Tue, 29 Mar 2022 18:13:34 +0000 (13:13 -0500)
committerCorey Minyard <cminyard@mvista.com>
Thu, 12 May 2022 15:00:03 +0000 (10:00 -0500)
commitbe7e0eb69e41b99219ef825a356092b618536304
tree4ab569252d0d00f61a19ea626ddbb486560c0456
parentf955b032d5e86789ef38761978d025dba3ec9692
ipmi: Add a sysfs count of total outstanding messages for an interface

Go through each user and add its message count to a total and print the
total.

It would be nice to have a per-user file, but there's no user sysfs
entity at this point to hang it off of.  Probably not worth the effort.

Based on work by Chen Guanqiao <chen.chenchacha@foxmail.com>

Cc: Chen Guanqiao <chen.chenchacha@foxmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c