HomeFreeBSD

ndp: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Description

ndp: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])

Pull Request: https://github.com/freebsd/freebsd-src/pull/888
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>

(cherry picked from commit bccbb2fc4bce6c3efc1ba93f222de320db8e020a)
(cherry picked from commit 635037210ea3e644c9d76b9627323f5ddf5dc5f5)

Details

Provenance
ehaouas_noos.frAuthored on Nov 7 2023, 5:13 PM
zleiCommitted on Sep 11 2024, 10:07 AM
Parents
rGd72ace979924: nfsd: Fix handling of NFSv4 setable attributes
Branches
Unknown
Tags
Unknown