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)

Details

Provenance
ehaouas_noos.frAuthored on Nov 7 2023, 5:13 PM
zleiCommitted on Sep 10 2024, 10:01 AM
Parents
rGb10e93220e52: mfiutil: Handle potential ioctl(2) failures in mfi_flash.c
Branches
Unknown
Tags
Unknown