LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kai Song <songkai01@inspur.com>
To: <linuxppc-dev@lists.ozlabs.org>
Cc: Kai Song <songkai01@inspur.com>,
	linux-kernel@vger.kernel.org, oohall@gmail.com, paulus@samba.org
Subject: [PATCH] powerpc/eeh:Fix some mistakes in comments
Date: Mon, 27 Sep 2021 10:35:07 +0800	[thread overview]
Message-ID: <20210927023507.32564-1-songkai01@inspur.com> (raw)

Get rid of warning:
arch/powerpc/kernel/eeh.c:774: warning: expecting prototype for eeh_set_pe_freset(). Prototype was for eeh_set_dev_freset() instead

Signed-off-by: Kai Song <songkai01@inspur.com>
---
 arch/powerpc/kernel/eeh.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index e9b597ed423c..4cd4acb049ec 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -761,8 +761,8 @@ int pcibios_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state stat
 }
 
 /**
- * eeh_set_pe_freset - Check the required reset for the indicated device
- * @data: EEH device
+ * eeh_set_dev_freset - Check the required reset for the indicated device
+ * @edev: EEH device
  * @flag: return value
  *
  * Each device might have its preferred reset type: fundamental or
-- 
2.27.0


             reply	other threads:[~2021-09-27  3:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27  2:35 Kai Song [this message]
2021-09-30  6:31 ` [PATCH] powerpc/eeh:Fix some mistakes in comments Daniel Axtens
2021-10-07 12:55   ` Michael Ellerman
  -- strict thread matches above, loose matches on Subject: below --
2021-10-01  1:36 Harris song (宋凯)-浪潮信息

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210927023507.32564-1-songkai01@inspur.com \
    --to=songkai01@inspur.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=oohall@gmail.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox