Re: [PATCH v2 14/19] locking/lockdep: Change type of the element field in circular_queue

From: Bart Van Assche
Date: Tue Mar 19 2019 - 12:51:50 EST


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.

BTW, your patch does more than fixing a typo. This patch elaborates the comment
above struct circular+AF8-queue. I think the commit message should mention that.

Bart.