diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-03 20:19:21 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-05 13:38:40 -0800 |
commit | 21e62bddf0efdf89223d7094b9e9089a3a345807 (patch) | |
tree | 4f058113d3a03c48faf5718a6f304bd0500918b3 /drivers/mux | |
parent | 35537f25d23697716f0070ea0a6e8b3f1fe10196 (diff) | |
download | linux-21e62bddf0efdf89223d7094b9e9089a3a345807.tar.gz linux-21e62bddf0efdf89223d7094b9e9089a3a345807.tar.bz2 linux-21e62bddf0efdf89223d7094b9e9089a3a345807.zip |
xfs: convert sick_map loops to use ARRAY_SIZE
Convert these arrays to use ARRAY_SIZE insteead of requiring an empty
sentinel array element at the end. This saves memory and would have
avoided a bug that worked its way into the next patch.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/mux')
0 files changed, 0 insertions, 0 deletions