Re: [PATCH v4] lib: document existing free functions

2022-06-24 Thread David Marchand
On Wed, Jun 22, 2022 at 10:53 PM Stephen Hemminger wrote: > > Make sure all functions which use the convention that XXX_free(NULL) > is a nop are all documented. > > The wording is chosen to match the documentation of free(3). > "If ptr is NULL, no operation is performed." > > Signed-off-by: Steph

[PATCH v4] lib: document existing free functions

2022-06-22 Thread Stephen Hemminger
Make sure all functions which use the convention that XXX_free(NULL) is a nop are all documented. The wording is chosen to match the documentation of free(3). "If ptr is NULL, no operation is performed." Signed-off-by: Stephen Hemminger --- lib/bitratestats/rte_bitrate.h | 1 + lib/compressde