From patchwork Thu Apr 18 08:41:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 10906763 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91C36922 for ; Thu, 18 Apr 2019 09:07:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7ACC128857 for ; Thu, 18 Apr 2019 09:07:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D707289DA; Thu, 18 Apr 2019 09:07:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1254928857 for ; Thu, 18 Apr 2019 09:07:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DE1EA6B0277; Thu, 18 Apr 2019 05:06:40 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id D71436B0279; Thu, 18 Apr 2019 05:06:40 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C33546B027A; Thu, 18 Apr 2019 05:06:40 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by kanga.kvack.org (Postfix) with ESMTP id 6FF306B0277 for ; Thu, 18 Apr 2019 05:06:40 -0400 (EDT) Received: by mail-wm1-f71.google.com with SMTP id n11so1552041wmh.2 for ; Thu, 18 Apr 2019 02:06:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:message-id :user-agent:date:from:to:cc:subject:references:mime-version; bh=jB9SA5hdGExIFIDrZWtnR9KIYGIDvN3B6de51Ujrkgo=; b=Jgh7tC+Q2uiai4wGEofz/2sUDk27A2cfRENmvFEO39a0F0VvBHX9lT66kMV8+PptoW DHnpe5UPh+BqO3TRNyWs6p8/l1drxgGH+czsjFuGwwwTnyJAtC2+5jrTsDTdl3lx09RN SqpdT27fWY/cGIW5Nr2MrJxuSYhxKde0X+mlWB9lF+hmgR5dK+/ADkTB7kJJAECaxUQF wtgsN1v4LVP2wP25I7KveMWfSDgPAPECpe7Aco208eAN2FVsSCKoOrKWOmbctd5bCzHL 2ntDTANgVFXGFn9EqK2TAOBe4NgiNzoL/GZJmmXLEzSC6yHvloo7dSBmPK7buBT86U93 4Gbw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of tglx@linutronix.de designates 2a01:7a0:2:106d:700::1 as permitted sender) smtp.mailfrom=tglx@linutronix.de X-Gm-Message-State: APjAAAV5NF0kcYECFXzZ24FWa6kZ8W2nn602RR8iPpCwoOH4IiPk8HvI WWxhhlbpb4u9Y4pAQjJQJSmI6pyUX5QtB0k5MvubtUoVCNl6LlLjJHuXKdx21Vjwy0N2ZGVLwOQ SyVneYgTGEPthv0mFEuC/RQXTWZF+sik7vZOBdJaqd9mI5221AgIKaMkHk8o2DZ9Npg== X-Received: by 2002:a1c:dfc5:: with SMTP id w188mr2141770wmg.79.1555578399987; Thu, 18 Apr 2019 02:06:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGtMszvfXNQETW6cehLJ1GwAO4Tw8UBFE8vN9u51eFcMeCtKIgNI9UYS4qbGxffwR5nItk X-Received: by 2002:a1c:dfc5:: with SMTP id w188mr2141710wmg.79.1555578399052; Thu, 18 Apr 2019 02:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555578399; cv=none; d=google.com; s=arc-20160816; b=i4eZiK50NnqYCD8gSaEM//Fp3VsPvv0nfWzzrl+8eeEyduGwqYMwwkD9d3tk1S6vAc 8GsIb6Ou3qspzoP5PrOQVZqQJVkRHS/fojaMExqszTrYDywcfshKpahuL/wwMy4HiJHI brueGu8veNnGqAJOtYpBwGyOyIwQeKZfXRSl8Ny0yvcGt4akkTpYPdQLWgWlNJZXv5sh 6ewePKR/8rm0Tnc0wiw7Tmc79USfzqcxkZ/0Qga5KFBPuKZSAeADk8g0DgFqg+r4I0uq 8foUt7jjHlhB5T995gVm3j/6cFVRe6MQ6/hqM6aVAKDzxVK0YKr0BLA5r0c4SZlx8E7G GBVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:subject:cc:to:from:date:user-agent :message-id; bh=jB9SA5hdGExIFIDrZWtnR9KIYGIDvN3B6de51Ujrkgo=; b=c6Ca0TBRn9RKMS+xKb4jBITUQyMbAJfYpzxdEAm5IxX9LYdHTQIVStnT/f4/Tm1xHU q2I372EpSOxVcn9daNd0uyQGwm+bEFJUjFzr1HoEMraUpt9d+8POY5gA2i44GG9T/0/6 BIN1bS6Y2glAy1W5lgCnp/zGPDzNhuach0O38p00aJllwUwy5+JVM3z4F22PHcYnmCka FKrsYK4PbVJr7VsWLQH5T/ku+hqLf+HJLgJ+dPmXMGrmoLRVpv4JK5XqXcegGn6pPnzz G22sF96vjpe8ZkYK2HIgKW9kmfpKI9GqHONC8ejk8BA9d7tzNPvIDBmKL94g4A5Z+BwE k1/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of tglx@linutronix.de designates 2a01:7a0:2:106d:700::1 as permitted sender) smtp.mailfrom=tglx@linutronix.de Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id j145si1091466wmj.95.2019.04.18.02.06.38 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 18 Apr 2019 02:06:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of tglx@linutronix.de designates 2a01:7a0:2:106d:700::1 as permitted sender) client-ip=2a01:7a0:2:106d:700::1; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of tglx@linutronix.de designates 2a01:7a0:2:106d:700::1 as permitted sender) smtp.mailfrom=tglx@linutronix.de 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 Cc: Josh Poimboeuf , x86@kernel.org, Andy Lutomirski , Steven Rostedt , Alexander Potapenko , Alexey Dobriyan , Andrew Morton , Pekka Enberg , linux-mm@kvack.org, David Rientjes , Christoph Lameter , Catalin Marinas , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Mike Rapoport , Akinobu Mita , iommu@lists.linux-foundation.org, Robin Murphy , Christoph Hellwig , Marek Szyprowski , Johannes Thumshirn , David Sterba , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org, dm-devel@redhat.com, Mike Snitzer , Alasdair Kergon , intel-gfx@lists.freedesktop.org, Joonas Lahtinen , Maarten Lankhorst , dri-devel@lists.freedesktop.org, David Airlie , Jani Nikula , Daniel Vetter , Rodrigo Vivi , linux-arch@vger.kernel.org Subject: [patch V2 17/29] lockdep: Remove unused trace argument from print_circular_bug() References: <20190418084119.056416939@linutronix.de> MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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);