* [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *
@ 2018-04-18 15:15 minyard
2018-04-23 7:59 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: minyard @ 2018-04-18 15:15 UTC (permalink / raw)
To: Zhao Yakui; +Cc: linux-acpi, openipmi-developer, Lv Zheng, Corey Minyard
From: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>
---
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.
diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c
index 1b64419..712fd31 100644
--- a/drivers/acpi/acpi_ipmi.c
+++ b/drivers/acpi/acpi_ipmi.c
@@ -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)
--
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *
2018-04-18 15:15 [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user * minyard
@ 2018-04-23 7:59 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2018-04-23 7:59 UTC (permalink / raw)
To: minyard; +Cc: Zhao Yakui, linux-acpi, openipmi-developer, Lv Zheng,
Corey Minyard
On Wednesday, April 18, 2018 5:15:41 PM CEST minyard@acm.org wrote:
> From: Corey Minyard <cminyard@mvista.com>
>
> Signed-off-by: Corey Minyard <cminyard@mvista.com>
> Cc: Zhao Yakui <yakui.zhao@intel.com>
> Cc: Lv Zheng <lv.zheng@intel.com>
> ---
> 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.
>
> diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c
> index 1b64419..712fd31 100644
> --- a/drivers/acpi/acpi_ipmi.c
> +++ b/drivers/acpi/acpi_ipmi.c
> @@ -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)
>
FWIW:
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-23 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 15:15 [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user * minyard
2018-04-23 7:59 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox