[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190602153804.15063-1-benniciemanuel78@gmail.com>
Date: Sun, 2 Jun 2019 17:38:01 +0200
From: Emanuel Bennici <benniciemanuel78@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Bjorn Helgaas <bhelgaas@...gle.com>, Joe Perches <joe@...ches.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Tyrel Datwyler <tyreld@...ux.vnet.ibm.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Lukas Wunner <lukas@...ner.de>
Subject: [PATCH 1/2] pci: shpchp: Correct usage of 'return'
Replace 'return(1)' with 'return 1' because return is not a function.
Signed-off-by: Emanuel Bennici <benniciemanuel78@...il.com>
---
drivers/pci/hotplug/shpchp_ctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/hotplug/shpchp_ctrl.c b/drivers/pci/hotplug/shpchp_ctrl.c
index 078003dcde5b..a7b807b31726 100644
--- a/drivers/pci/hotplug/shpchp_ctrl.c
+++ b/drivers/pci/hotplug/shpchp_ctrl.c
@@ -342,7 +342,7 @@ static int remove_board(struct slot *p_slot)
int rc;
if (shpchp_unconfigure_device(p_slot))
- return(1);
+ return 1;
hp_slot = p_slot->device - ctrl->slot_device_offset;
p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
--
2.19.1
Powered by blists - more mailing lists