Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1543217img; Tue, 19 Mar 2019 09:51:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbg97wbjfeV+w8RPtqZEpPjJcpfsHl+4m/kCGzA+D6trre83JRP63rYaMbkfVs2M+qKuQ5 X-Received: by 2002:a65:51c3:: with SMTP id i3mr2764919pgq.45.1553014281087; Tue, 19 Mar 2019 09:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553014281; cv=none; d=google.com; s=arc-20160816; b=sAHbekQmkV1f0gUCWFpoXzDS+VmNHnYGim5Xys8WfbR5Zg2H9OcHRzIFzwffMv1E1f UVklm+cCmGNLr+oYS56GQNRaKAOj5ARJ9qBSQ3nRyjv0IsrAjkfhAaxnClYWFl2XW7zJ 2ahgi6BWu+xsTk0D9tOoATPa41dpvLSi/XkhpkXfCiJlCK33/KaY9FCX9h9VzO1FIuHw meyzUJcVIR3KgCRR6p55blLeuReUWn9c7o/x+aektCYnIx06eOZsthDok8sWAk563B7Q 2c7WPJl4Yx/s8CVZX5D/kP6qpd8VZuwKQZM6MWaXBQc4UgVWex5VeGIGwa8KNe2iC54M hsEw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id; bh=0GrTmZqlCohRu7Fl4sG4uwqXY0w9opF/U+4YcVfXxGA=; b=y0sGPHgFCjNB/6LKAKY+oxkwARr4clocIf/QIDMVAJbYroi4EYpUPBNtFjbZlqnKfv Pd12QkEVkOZ7hUHVrvbuVUR3AIpC6NDnJKiJsL1L7UEkm+yz5PGADkU8zsvQATU9+nXG 0bMkG8twPdi0axaxI7zFWZrX2LHFPTnzaf/tMHRAWqtjoOI/ADElb+T5lVqOe7qGEqY0 /o26KeZ5AzNqTT0ZgcBKeHH9rK6J9umEttEUW1Vado010KqvPRJME8QvF3Xhdf/IzONA 1UlET4URm35X3YdOyHA3riZdigiA6sM60p99YjMGEZy/oZQf07F7sLnUqKiSdXeoFoOQ W8HA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a125si13031764pfb.46.2019.03.19.09.51.05; Tue, 19 Mar 2019 09:51:21 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727536AbfCSQuT (ORCPT + 99 others); Tue, 19 Mar 2019 12:50:19 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39689 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfCSQuT (ORCPT ); Tue, 19 Mar 2019 12:50:19 -0400 Received: by mail-pg1-f194.google.com with SMTP id h8so14245994pgp.6 for ; Tue, 19 Mar 2019 09:50:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=0GrTmZqlCohRu7Fl4sG4uwqXY0w9opF/U+4YcVfXxGA=; b=seMzmLelXDpuI2YAZKPv3+gmeTedNHvWhZ31TPlCM9SO8c47BjKVXnvVQxlE3T27q0 Av6kgXgKjEwRsgvO/UjG+/FUbO7DmkSkHGnnSGu8DS6jN2I6kTq5MBRu8b5ZWzs7yTyD i7ty01Rp3TK6m4u8MBTRCBmzjcCY7OSRzobX2mLIqm9C6wn3lqa/ZAU9cSJhBlo2ggDJ Lkgvwpl559XwvFbX4/xO3XUwhzNaBUsddh9MSGTrUQP1nhvuuCkwoWvfVElmjJRXJOgg pM79GHsSrrTUPUZdXdoLgUVccqwureO47jkgNo4faaZ/j/fIyoq/3Diw6Uhaz7M0p5pO g0Lg== X-Gm-Message-State: APjAAAWkgUw8P8KaCeObtH6hpi+nIH9F4KP5RFl6u1/4I836Nirm+KFA ksYovEXt1Thiwv+5GzRA7XBuXSKXba0= X-Received: by 2002:a62:b517:: with SMTP id y23mr2828837pfe.144.1553014218934; Tue, 19 Mar 2019 09:50:18 -0700 (PDT) Received: from ?IPv6:2620:15c:2cd:203:5cdc:422c:7b28:ebb5? ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id s15sm4974449pga.71.2019.03.19.09.50.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 09:50:18 -0700 (PDT) Message-ID: <1553014217.65329.5.camel@acm.org> Subject: Re: [PATCH v2 14/19] locking/lockdep: Change type of the element field in circular_queue From: Bart Van Assche To: Yuyang Du , peterz@infradead.org, will.deacon@arm.com, mingo@kernel.org Cc: ming.lei@redhat.com, linux-kernel@vger.kernel.org Date: Tue, 19 Mar 2019 09:50:17 -0700 In-Reply-To: <20190318085733.3143-15-duyuyang@gmail.com> References: <20190318085733.3143-1-duyuyang@gmail.com> <20190318085733.3143-15-duyuyang@gmail.com> Content-Type: text/plain; charset="UTF-7" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-03-18 at 16:57 +-0800, Yuyang Du wrote: +AD4 The element field is an array in struct circular+AF8-queue to keep track of locks +AD4 in the search. Making it the same type as the locks avoids type cast. Also +AD4 fix a typo. +AD4 +AD4 No functional change. Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4