beeed9d92a
Add script to replace [0] with [] when used at the end of a struct. The script also includes an additional struct member to match against so as to avoid issues with arrays with only a single zero-length element. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> |
||
---|---|---|
.. | ||
mtod-offset.cocci | ||
namespace_ethdev.cocci | ||
nullfree.cocci | ||
prefix_mbuf_offload_flags.cocci | ||
strlcpy-with-header.cocci | ||
strlcpy.cocci | ||
zero_length_array.cocci |