mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Aakash Hemadri <aakashhemadri123@gmail.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Shuah Khan <skhan@foundation.org>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/4] PCI: Missing blank line after declarations
Date: Sun, 15 Aug 2021 01:42:04 +0530	[thread overview]
Message-ID: <7631ef94afd60f1e0ff90ada695db1bcf85bea40.1628957100.git.aakashhemadri123@gmail.com> (raw)
In-Reply-To: <cover.1628957100.git.aakashhemadri123@gmail.com>

Fix checkpatch.pl WARNING: Missing a blank line after declarations

Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
---
 drivers/pci/slot.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c
index 751a26668e3a..6ee4ccaf30b3 100644
--- a/drivers/pci/slot.c
+++ b/drivers/pci/slot.c
@@ -20,6 +20,7 @@ static ssize_t pci_slot_attr_show(struct kobject *kobj,
 {
 	struct pci_slot *slot = to_pci_slot(kobj);
 	struct pci_slot_attribute *attribute = to_pci_slot_attr(attr);
+
 	return attribute->show ? attribute->show(slot, buf) : -EIO;
 }
 
@@ -28,6 +29,7 @@ static ssize_t pci_slot_attr_store(struct kobject *kobj,
 {
 	struct pci_slot *slot = to_pci_slot(kobj);
 	struct pci_slot_attribute *attribute = to_pci_slot_attr(attr);
+
 	return attribute->store ? attribute->store(slot, buf, len) : -EIO;
 }
 
@@ -123,6 +125,7 @@ static char *make_slot_name(const char *name)
 
 	for (;;) {
 		struct kobject *dup_slot;
+
 		dup_slot = kset_find_obj(pci_slots_kset, new_name);
 		if (!dup_slot)
 			break;
-- 
2.32.0


  reply	other threads:[~2021-08-14 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-14 20:12 [PATCH 0/4] Fix checkpatch.pl WARNINGS Aakash Hemadri
2021-08-14 20:12 ` Aakash Hemadri [this message]
2021-08-14 20:12 ` [PATCH 2/4] PCI: Symbolic permissions 'S_IRUGO' are not preferred Aakash Hemadri
2021-08-14 20:12 ` [PATCH 3/4] PCI: Prefer IS_ENABLED(CONFIG_HOTPLUG_PCI) Aakash Hemadri
2021-08-14 20:12 ` [PATCH 4/4] PCI: No space before tabs Aakash Hemadri

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=7631ef94afd60f1e0ff90ada695db1bcf85bea40.1628957100.git.aakashhemadri123@gmail.com \
    --to=aakashhemadri123@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=skhan@foundation.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

all inboxes | Powered by JetHome®