From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file

---
 kernel/include/linux/ipmi.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/kernel/include/linux/ipmi.h b/kernel/include/linux/ipmi.h
index 41f5c08..52850a0 100644
--- a/kernel/include/linux/ipmi.h
+++ b/kernel/include/linux/ipmi.h
@@ -27,7 +27,7 @@
  * Opaque type for a IPMI message user.  One of these is needed to
  * send and receive messages.
  */
-typedef struct ipmi_user *ipmi_user_t;
+struct ipmi_user;
 
 /*
  * Stuff coming from the receive interface comes as one of these.
@@ -333,4 +333,6 @@
 /* This is to get the private info of struct ipmi_smi */
 extern int ipmi_get_smi_info(int if_num, struct ipmi_smi_info *data);
 
+#define GET_DEVICE_ID_MAX_RETRY		5
+
 #endif /* __LINUX_IPMI_H */

--
Gitblit v1.6.2