Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3170911ybi; Sun, 2 Jun 2019 08:42:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsOFma1FJqVL1uQ+lllyquVbH5pHLB+fvnNPBmbhNRqrQFlIeD6z+GZAy6MswwHBpm5dfm X-Received: by 2002:a17:902:4283:: with SMTP id h3mr24277554pld.214.1559490168215; Sun, 02 Jun 2019 08:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559490168; cv=none; d=google.com; s=arc-20160816; b=cRtGcGYR2bCU5YPENel7LjojVa8sDDREYx7Vc22B4l0OAhztLsFLoVWgpMfn6+vnNl JYVAeJESrOAznUzCt6mDMMkE4q1ocayp1IyH0/0GUC0sEjS5IgGJu1uDYNQl1en9ReZX +WBEXAt6CjxR1mij6etI6590bT8zGzlmuYC8cj2QVR0YaL5z/MhKP1UHe1Z8ihvK06ls XlLVWA28/vGaiq44Qb0ZGL5CK5nqxo/jiH9f17x8ooq0FcpIPfCIuJYtxrWx37+wh64r 8b7Stma0dCAmwl0ZT/7okHmkz0WWtUXRSuvpCdXuabB8XZFktoSYMg7kt9bjBe3RctCR rl5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=ZXauEYaJBCTtV//RLwd7mo3vZGyUI4EXXU82EfWx/Ro=; b=faIRcxAehBbW2AgBESh8BP4tgcSvqazTQ8BAVBDTcB4UeDH5B/kx3FfrQhiy7kBOuB u5XACSbtz1uLw18PvcQF5LKL9mnAhUoH0ExEMnIJ2s/2Kc62Jjza7v0nP90dO1ICTDQM MiPgrbYBvZP/7EmtYVuIwlPSi18pdT1jDKdX2gjk8jYwOATRjUlRwYsmO6HuR1/cFuj+ Mbk1b/B4o9Bu2rb+ar4QlbGmW3PoK4ERxb6wwLM7dZ2Q5dlw0cEtjoPL1pJNUH9J2xz3 WrwbTr+0r2xgd+0lcaVxc/SYcWX5ZpXiL3qf15jR7VkmAJWk+WNxva8ozZfbVltGxaIO 0ThQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hKnd0Kfz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si16005295pfl.130.2019.06.02.08.41.55; Sun, 02 Jun 2019 08:42:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hKnd0Kfz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726387AbfFBPiK (ORCPT + 99 others); Sun, 2 Jun 2019 11:38:10 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36761 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfFBPiK (ORCPT ); Sun, 2 Jun 2019 11:38:10 -0400 Received: by mail-wm1-f68.google.com with SMTP id v22so8768210wml.1 for ; Sun, 02 Jun 2019 08:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:reply-to:mime-version :content-transfer-encoding; bh=ZXauEYaJBCTtV//RLwd7mo3vZGyUI4EXXU82EfWx/Ro=; b=hKnd0KfzRBVXuzJgqVcnZ9yHWXrCyI1/7EaSBAQEw6vFdPXppZ5i+lms8trhzCiG2C rnLfIw1pR4hM2TRlnZ+lOCIGU7yod1A5g90EbRivTar1xEucCTukTBYuNQxYnUu0l1Xb JoMsPP0K085RjZXwQRU4GyeaKiLWC9h/kBerlXazJm5FSZipTTL+KDphcvUkqNhHP1Tb kzx0oyuMK35bgiUKpdVddihKkySzJPaaEAYHj/AW80S8nuo4VZkNxa9TPT8CqG/GQOOQ 4heuIS3gLbBbFlRbkC6RbJki6oZDCgTzB3Rpyv62hQFgoNMiyS90lj26hke1wBQ7bvsK UxQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :mime-version:content-transfer-encoding; bh=ZXauEYaJBCTtV//RLwd7mo3vZGyUI4EXXU82EfWx/Ro=; b=FDTOkxJGSG1umT5vBgLO60OSJ8dvDr6tZx3Bq28jA0Ox29ditNvE0t9J0D1+eWZKbI 6zBIoqjCfwYH7YrvzoEeBU/FJbmMbZ9MDHTQSh4fn2e/lco5z4loCow4Oj05OQOfcpe0 BpdZLNv9LYrivwBA2dzCf9R0ncOknwbGocCYozPSfcEcN+SpR0vH1OHpkrMhDmG2vxnT Zl8iSeR6aeyyLYyR1KPtwufxJSFBRcqaS7cZwRqAtZUSLDnzdocA3RQRJcLsasZI0rUc ykfW5Dk710leaev4DYUEZlZpNXbeN8QuLQPMVPgl5BFZcLh7uw6Vj31ViRDQ/mlr9NnY T3Uw== X-Gm-Message-State: APjAAAUgNfOzhAyF2dO1zD8vT/KoJR3bvw+GUB8zky+p/eElVg4z7fCM TUw0KF39GdLvBOyn4ncTpYKN1slnYzo9rA== X-Received: by 2002:a1c:6a11:: with SMTP id f17mr10957067wmc.110.1559489888111; Sun, 02 Jun 2019 08:38:08 -0700 (PDT) Received: from p200300EEEE2F.fritz.box (p200300C98712670014A3D3D52C57F0B4.dip0.t-ipconnect.de. [2003:c9:8712:6700:14a3:d3d5:2c57:f0b4]) by smtp.gmail.com with ESMTPSA id c15sm2346652wrx.23.2019.06.02.08.38.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 02 Jun 2019 08:38:07 -0700 (PDT) From: Emanuel Bennici To: linux-kernel@vger.kernel.org Cc: Bjorn Helgaas , Joe Perches , "Rafael J. Wysocki" , "Gustavo A. R. Silva" , Tyrel Datwyler , Mika Westerberg , Lukas Wunner Subject: [PATCH 1/2] pci: shpchp: Correct usage of 'return' Date: Sun, 2 Jun 2019 17:38:01 +0200 Message-Id: <20190602153804.15063-1-benniciemanuel78@gmail.com> X-Mailer: git-send-email 2.19.1 Reply-To: benniciemanuel78@gmail.com MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace 'return(1)' with 'return 1' because return is not a function. Signed-off-by: Emanuel Bennici --- 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