From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: [patch V2 17/29] lockdep: Remove unused trace argument from print_circular_bug() Date: Thu, 18 Apr 2019 10:41:36 +0200 Message-ID: <20190418084254.639634107@linutronix.de> References: <20190418084119.056416939@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: LKML Cc: Mike Snitzer , David Airlie , Catalin Marinas , dri-devel@lists.freedesktop.org, linux-mm@kvack.org, dm-devel@redhat.com, Alexander Potapenko , Christoph Lameter , Christoph Hellwig , Alasdair Kergon , Marek Szyprowski , linux-arch@vger.kernel.org, x86@kernel.org, kasan-dev@googlegroups.com, Johannes Thumshirn , Andrey Ryabinin , Alexey Dobriyan , intel-gfx@lists.freedesktop.org, David Rientjes , Akinobu Mita , Steven Rostedt , Josef Bacik , Mike Rapoport , Andy Lutomirski , Josh Poimboeuf , David Sterba List-Id: iommu@lists.linux-foundation.org U2lnbmVkLW9mZi1ieTogVGhvbWFzIEdsZWl4bmVyIDx0Z2x4QGxpbnV0cm9uaXguZGU+Ci0tLQog a2VybmVsL2xvY2tpbmcvbG9ja2RlcC5jIHwgICAgOSArKysrLS0tLS0KIDEgZmlsZSBjaGFuZ2Vk LCA0IGluc2VydGlvbnMoKyksIDUgZGVsZXRpb25zKC0pCgotLS0gYS9rZXJuZWwvbG9ja2luZy9s b2NrZGVwLmMKKysrIGIva2VybmVsL2xvY2tpbmcvbG9ja2RlcC5jCkBAIC0xNTIyLDEwICsxNTIy LDkgQEAgc3RhdGljIGlubGluZSBpbnQgY2xhc3NfZXF1YWwoc3RydWN0IGxvYwogfQogCiBzdGF0 aWMgbm9pbmxpbmUgaW50IHByaW50X2NpcmN1bGFyX2J1ZyhzdHJ1Y3QgbG9ja19saXN0ICp0aGlz LAotCQkJCXN0cnVjdCBsb2NrX2xpc3QgKnRhcmdldCwKLQkJCQlzdHJ1Y3QgaGVsZF9sb2NrICpj aGVja19zcmMsCi0JCQkJc3RydWN0IGhlbGRfbG9jayAqY2hlY2tfdGd0LAotCQkJCXN0cnVjdCBz dGFja190cmFjZSAqdHJhY2UpCisJCQkJICAgICAgIHN0cnVjdCBsb2NrX2xpc3QgKnRhcmdldCwK KwkJCQkgICAgICAgc3RydWN0IGhlbGRfbG9jayAqY2hlY2tfc3JjLAorCQkJCSAgICAgICBzdHJ1 Y3QgaGVsZF9sb2NrICpjaGVja190Z3QpCiB7CiAJc3RydWN0IHRhc2tfc3RydWN0ICpjdXJyID0g Y3VycmVudDsKIAlzdHJ1Y3QgbG9ja19saXN0ICpwYXJlbnQ7CkBAIC0yMjA2LDcgKzIyMDUsNyBA QCBjaGVja19wcmV2X2FkZChzdHJ1Y3QgdGFza19zdHJ1Y3QgKmN1cnIsCiAJCQkgKi8KIAkJCXNh dmUodHJhY2UpOwogCQl9Ci0JCXJldHVybiBwcmludF9jaXJjdWxhcl9idWcoJnRoaXMsIHRhcmdl dF9lbnRyeSwgbmV4dCwgcHJldiwgdHJhY2UpOworCQlyZXR1cm4gcHJpbnRfY2lyY3VsYXJfYnVn KCZ0aGlzLCB0YXJnZXRfZW50cnksIG5leHQsIHByZXYpOwogCX0KIAllbHNlIGlmICh1bmxpa2Vs eShyZXQgPCAwKSkKIAkJcmV0dXJuIHByaW50X2Jmc19idWcocmV0KTsKCgpfX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpJbnRlbC1nZnggbWFpbGluZyBsaXN0 CkludGVsLWdmeEBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5mcmVlZGVza3Rv cC5vcmcvbWFpbG1hbi9saXN0aW5mby9pbnRlbC1nZng= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EDDCC10F0E for ; Thu, 18 Apr 2019 09:07:48 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48A02218FC for ; Thu, 18 Apr 2019 09:07:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48A02218FC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 000651502; Thu, 18 Apr 2019 09:06:42 +0000 (UTC) Received: from smtp2.linuxfoundation.org (smtp2.linux-foundation.org [172.17.192.36]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 4954914E9 for ; Thu, 18 Apr 2019 09:06:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from Galois.linutronix.de (Galois.linutronix.de [146.0.238.70]) by smtp2.linuxfoundation.org (Postfix) with ESMTPS id D01C21DCEE; Thu, 18 Apr 2019 09:06:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1hH307-0001sE-IN; Thu, 18 Apr 2019 11:06:35 +0200 Message-Id: <20190418084254.639634107@linutronix.de> User-Agent: quilt/0.65 Date: Thu, 18 Apr 2019 10:41:36 +0200 From: Thomas Gleixner To: LKML Subject: [patch V2 17/29] lockdep: Remove unused trace argument from print_circular_bug() References: <20190418084119.056416939@linutronix.de> MIME-Version: 1.0 Cc: Mike Snitzer , David Airlie , Catalin Marinas , Joonas Lahtinen , dri-devel@lists.freedesktop.org, linux-mm@kvack.org, dm-devel@redhat.com, Alexander Potapenko , Christoph Lameter , Christoph Hellwig , Alasdair Kergon , linux-arch@vger.kernel.org, x86@kernel.org, kasan-dev@googlegroups.com, Johannes Thumshirn , Andrey Ryabinin , Alexey Dobriyan , intel-gfx@lists.freedesktop.org, David Rientjes , Maarten Lankhorst , Akinobu Mita , Steven Rostedt , Josef Bacik , Rodrigo Vivi , Mike Rapoport , Jani Nikula , Andy Lutomirski , Josh Poimboeuf , David Sterba , Dmitry Vyukov , Chris Mason , Pekka Enberg , iommu@lists.linux-foundation.org, Daniel Vetter , Andrew Morton , Robin Murphy , linux-btrfs@vger.kernel.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org Message-ID: <20190418084136.agv1Wusg2GorXzEs7vxqxe36Y66GhJQOJcBYx5VdjDg@z> Signed-off-by: Thomas Gleixner --- kernel/locking/lockdep.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c @@ -1522,10 +1522,9 @@ static inline int class_equal(struct loc } static noinline int print_circular_bug(struct lock_list *this, - struct lock_list *target, - struct held_lock *check_src, - struct held_lock *check_tgt, - struct stack_trace *trace) + struct lock_list *target, + struct held_lock *check_src, + struct held_lock *check_tgt) { struct task_struct *curr = current; struct lock_list *parent; @@ -2206,7 +2205,7 @@ check_prev_add(struct task_struct *curr, */ save(trace); } - return print_circular_bug(&this, target_entry, next, prev, trace); + return print_circular_bug(&this, target_entry, next, prev); } else if (unlikely(ret < 0)) return print_bfs_bug(ret); _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu