From patchwork Wed Apr 18 15:15:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 10348387 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E9B8D60244 for ; Wed, 18 Apr 2018 15:15:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAD0622299 for ; Wed, 18 Apr 2018 15:15:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE13D2237D; Wed, 18 Apr 2018 15:15:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53BC622B26 for ; Wed, 18 Apr 2018 15:15:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752162AbeDRPPs (ORCPT ); Wed, 18 Apr 2018 11:15:48 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36381 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbeDRPPr (ORCPT ); Wed, 18 Apr 2018 11:15:47 -0400 Received: by mail-oi0-f68.google.com with SMTP id h11-v6so1913481oic.3 for ; Wed, 18 Apr 2018 08:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=3HOPdlNf8fctJbRyEUSW5PfA1Y5B516bRNC2xpefDQA=; b=TsrdvdzKoFoVQvu/TcpKtJ6rZcfGziyMwo72mjk+QFIsL4y+UqvNBNGH6erjumM3jN uFQABL3Z8P5bpnQUR6Kj32/JS1xhi7OYVWqKTu3dGFjB2mx3g3NUB59XfyxcxDh4+mFB v2/FHmpBKUxuWDyzYlAwgVv//iC8vrXvMiX1MQtASOZy4v1lkO3xaTQbRmg9D3k35qxi xciHPO1urc0+YjOQmft7FCPfA9RPOmY/CJ+1fLVc7hLcnBRS2uEnEp7Nr8vva1gVjMv6 ybcRhuOT9jje3JoArt4KWk2vGFgxSs8boB6+Ljtny0ORdhc0gJpPq4UEHmKwxRffkCQn rv+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=3HOPdlNf8fctJbRyEUSW5PfA1Y5B516bRNC2xpefDQA=; b=AP4DD6o9wYqUOVLJU7jHft5v8aetg1WwyU7m6yM8hxknuq0TySjIc0MfuGlOrybwXw ON74IYh0UrmfySCJrbWzb/WH85CGbOpT7axUim5VqBwMpJBYMPsvsU6J1v/ABUSAFM5s h8Ng013SXOH9jr4e2CiStodX2P8EaLMf45uWICvEG7eZuozCcZpIuWmnqfjIWLGZk/Ye zMigXdvl4auwr1Rlpw0DuukYUkcDsCgYoWFv4nsbsB4OKKI8bkBWp2wv3vAjuN5NFhMW fzm1BkE7SErKgIwZh08DLwi8lZcm+5WNwgq9G4BHrNdpIuHxfEInMPPv/8rIetTlj/44 HjdQ== X-Gm-Message-State: ALQs6tAT4skCDYXG0E3y41rBONzibw80FnLKZu44zYQ/eJHvaKpOUfqs 3pXAEaveJif9U0nTIazT3A== X-Google-Smtp-Source: AIpwx4/xDlHHv3zTfpEEWuk65tgPTutDaOO044Vr3QM+yAFZm9tYJPTNcdTNRWY5a2i/IiX4y6tH1A== X-Received: by 2002:aca:ad05:: with SMTP id w5-v6mr1279057oie.299.1524064547179; Wed, 18 Apr 2018 08:15:47 -0700 (PDT) Received: from serve.minyard.net ([47.184.168.85]) by smtp.gmail.com with ESMTPSA id j14-v6sm714393oii.7.2018.04.18.08.15.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 08:15:46 -0700 (PDT) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id 4B731377; Wed, 18 Apr 2018 10:15:45 -0500 (CDT) Received: by t430.minyard.net (Postfix, from userid 1000) id 16C883000E7; Wed, 18 Apr 2018 10:15:45 -0500 (CDT) From: minyard@acm.org To: Zhao Yakui Cc: openipmi-developer@lists.sourceforge.net, linux-acpi@vger.kernel.org, Corey Minyard , Lv Zheng Subject: [PATCH] acpi:ipmi: Convert ipmi_user_t to struct ipmi_user * Date: Wed, 18 Apr 2018 10:15:41 -0500 Message-Id: <1524064541-22252-1-git-send-email-minyard@acm.org> X-Mailer: git-send-email 2.7.4 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Corey Minyard Signed-off-by: Corey Minyard Cc: Zhao Yakui Cc: Lv Zheng Acked-by: Rafael J. Wysocki --- 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)