Skip to contentSkip to conversation

acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *

PATCH In review [email protected] 2 participants 2 messages Apr 18, 2018 – Apr 23, 2018 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *

From: Corey Minyard <[email protected]>

---
 drivers/acpi/acpi_ipmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

I'm getting rid of this annoying coding style violation, if you could get this in that would be great.

drivers/acpi/acpi_ipmi.c +2 -2
index 1b64419..712fd31 100644
@@ -46,7 +46,7 @@ struct acpi_ipmi_device {
 	spinlock_t tx_msg_lock;
 	acpi_handle handle;
 	struct device *dev;
-	ipmi_user_t user_interface;
+	struct ipmi_user *user_interface;
 	int ipmi_ifnum; /* IPMI interface number */
 	long curr_msgid;
 	bool dead;
@@ -125,7 +125,7 @@ ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle)
 {
 	struct acpi_ipmi_device *ipmi_device;
 	int err;
-	ipmi_user_t user;
+	struct ipmi_user *user;
 
 	ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL);
 	if (!ipmi_device)
Signature · 6 lines
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Acked-by on v1 1/1
#1 lore raw
Quoted 27 lines · On Wednesday, April 18, 2018 5:15:41 PM CEST [email protected] wrote:

From: Corey Minyard <[email protected]>

---
 drivers/acpi/acpi_ipmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

I'm getting rid of this annoying coding style violation, if you could get this in that would be great.

drivers/acpi/acpi_ipmi.c +1 -1
index 1b64419..712fd31 100644
@@ -46,7 +46,7 @@ struct acpi_ipmi_device {
 	spinlock_t tx_msg_lock;
 	acpi_handle handle;
 	struct device *dev;
-	ipmi_user_t user_interface;
+	struct ipmi_user *user_interface;
 	int ipmi_ifnum; /* IPMI interface number */
 	long curr_msgid;
 	bool dead;

drivers/acpi/acpi_ipmi.c ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle) · line 131

Quoted 8 lines
drivers/acpi/acpi_ipmi.c +1 -1
@@ -125,7 +125,7 @@ ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle)
 {
 	struct acpi_ipmi_device *ipmi_device;
 	int err;
-	ipmi_user_t user;
+	struct ipmi_user *user;
 
 	ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL);
 	if (!ipmi_device)

FWIW:

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot