summaryrefslogtreecommitdiffstats
path: root/lib/pb-protocol
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2018-08-08 13:24:50 -0700
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-08-14 11:10:14 +1000
commit7e8bc8b93ce67eda63c5a252fb051ca83979dd5b (patch)
tree1d503685746cf97fb68320ef6b3381f8806803f6 /lib/pb-protocol
parent3b4f88057e95418bc548542b5b9a13910905c93d (diff)
downloadtalos-petitboot-7e8bc8b93ce67eda63c5a252fb051ca83979dd5b.tar.gz
talos-petitboot-7e8bc8b93ce67eda63c5a252fb051ca83979dd5b.zip
lib/talloc: Fix TALLOC_ABORT
The current TALLOC_ABORT macro had a number of problems. Failures were not going to the pb log, but only to stderr. If the object passed in was not a talloc object the printing of an object name would be printing random data. The use of a macro obscured the code. To clean this up, remove all reference to TALLOC_ABORT and put the logging and abort calls directly into talloc_chunk_from_ptr. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/pb-protocol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud