diff options
author | Yuyang Du | 2019-05-06 16:19:28 +0800 |
---|---|---|
committer | Ingo Molnar | 2019-06-03 11:55:45 +0200 |
commit | aa4807719e076bfb2dee9c96adf2c648e47d472f (patch) | |
tree | 8e370d7c74b894b502d798d529d4ca25e3b80562 /kernel/seccomp.c | |
parent | 31a490e5c54f5499aa744f8524611e2a4b19f8ba (diff) |
locking/lockdep: Change type of the element field in circular_queue
The element field is an array in struct circular_queue to keep track of locks
in the search. Making it the same type as the locks avoids type cast. Also
fix a typo and elaborate the comment above struct circular_queue.
No functional change.
Signed-off-by: Yuyang Du <duyuyang@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: frederic@kernel.org
Cc: ming.lei@redhat.com
Cc: will.deacon@arm.com
Link: https://lkml.kernel.org/r/20190506081939.74287-13-duyuyang@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions