Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp504207ybr; Fri, 22 May 2020 11:43:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5PS8Ubj5xfDVlM4Zna1e43HaQF7nyWymmSiSY37k7xnOVy1RYbPx6FF5eR5sSc/zgLAM4 X-Received: by 2002:a17:906:528e:: with SMTP id c14mr9221469ejm.123.1590173024067; Fri, 22 May 2020 11:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590173024; cv=none; d=google.com; s=arc-20160816; b=VjUPnTxuLgClojZamrbIIgt5AzUvvHM37LXzTE+AWGKN0MBDwFrMPsV6HTMWx8qfVV TBeKSNOfbNcT1h048QW24Dy5FRnWwsRZPEBNPU+pb9yggAWByAuERBil6jTK35Nd5X2u gXWXGY0zOQXfw3iUYziHHS2hwo7cx0l3tZ/058vdohzJ3NKrStb6+UkeBbc/QyaUADnW foK2u1OFh9infqSE4Jxy8pMR7rxhnYvq7GfCJWG5IdBnd7nY82rF25h3duwNIDmcaxR5 XcaX9R0o+g/9JojneEG0qWjeE4rqitgGYASsR3PSedSCGJ7Nu6UDYrXuZpf2xPj8+maa ulBw== 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 :message-id:date:subject:cc:to:from; bh=WOycwsXoC7PI9RlHkxUIS32X6qzwzSw/GB5Q7ox2sFM=; b=m0P2TTsbEKf3RQ5GgXN2aRe018NdJrWA20SUT4c9G8RC85FcS2Eg8GBbAxDy/L/cUB 8HkhCc7+Cdeuq8bs6Oe43eemKUT1XvNRRqX1dOMStNY25P3mdXJj0OmIfAjjglDa40rl je0E5OuaGMPkJHDrQAsMooE9MX+Yt4EpEqzBYKRPGGhN4B2BS28UxlyD+O7ap4smZHhb 8RhTAnrCxx1sz/9HO19TewnbLbA8PFiRkCEK/qJ0kb0z6X5HecJ6CAKcIa6cFAssM/cj i9IOgqQOK/S8rcLpL48C/PaSEk0CYfB+5mXT4ewafdj+8VN2teeBkeULkyQCsQnpg892 cs9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e24si5371201ejh.298.2020.05.22.11.43.21; Fri, 22 May 2020 11:43:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730889AbgEVSjy (ORCPT + 99 others); Fri, 22 May 2020 14:39:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:37716 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730810AbgEVSjw (ORCPT ); Fri, 22 May 2020 14:39:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9EFFBAE09; Fri, 22 May 2020 18:39:52 +0000 (UTC) From: Petr Tesarik To: linux-s390@vger.kernel.org Cc: Niklas Schnelle , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Peter Oberparleiter , linux-kernel@vger.kernel.org, Petr Tesarik Subject: [PATCH 1/1] s390/pci: Log new handle in clp_disable_fh() Date: Fri, 22 May 2020 20:39:22 +0200 Message-Id: <20200522183922.5253-1-ptesarik@suse.com> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After disabling a function, the original handle is logged instead of the disabled handle. Fixes: 17cdec960cf77 (s390/pci: Recover handle in clp_set_pci_fn()) Signed-off-by: Petr Tesarik --- arch/s390/pci/pci_clp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/s390/pci/pci_clp.c b/arch/s390/pci/pci_clp.c index ea794ae755ae..179bcecefdee 100644 --- a/arch/s390/pci/pci_clp.c +++ b/arch/s390/pci/pci_clp.c @@ -309,14 +309,13 @@ int clp_enable_fh(struct zpci_dev *zdev, u8 nr_dma_as) int clp_disable_fh(struct zpci_dev *zdev) { - u32 fh = zdev->fh; int rc; if (!zdev_enabled(zdev)) return 0; rc = clp_set_pci_fn(zdev, 0, CLP_SET_DISABLE_PCI_FN); - zpci_dbg(3, "dis fid:%x, fh:%x, rc:%d\n", zdev->fid, fh, rc); + zpci_dbg(3, "dis fid:%x, fh:%x, rc:%d\n", zdev->fid, zdev->fh, rc); return rc; } -- 2.26.1