bloblist: Zero records when adding
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:52 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commitb83994dec7addcd5fecd0bfd2f734223eb0462f0
treefaa8ddaaaf7aa2632f89a96006c3e5a27e03ac35
parent02247c1887312e5b4b367e4fb12122381b1424bc
bloblist: Zero records when adding

It is convenient for bloblist to zero out the contents of a records when
it is added. This saves the callers having to do it.

Update the API accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bloblist.c
doc/README.bloblist
test/bloblist.c