Re: [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *

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

 



On Wednesday, April 18, 2018 5:15:41 PM CEST minyard@xxxxxxx wrote:
> From: Corey Minyard <cminyard@xxxxxxxxxx>
> 
> Signed-off-by: Corey Minyard <cminyard@xxxxxxxxxx>
> Cc: Zhao Yakui <yakui.zhao@xxxxxxxxx>
> Cc: Lv Zheng <lv.zheng@xxxxxxxxx>
> ---
>  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@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux