From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: Re: [PATCH 5/8] log: Add missing function comment for trace_init() Date: Fri, 07 Oct 2022 17:52:24 +1100 Message-ID: In-Reply-To: <20221007004742.1188933-6-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3592256458342113857==" --===============3592256458342113857== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, Oct 07, 2022 at 02:47:39AM +0200, Stefano Brivio wrote: > Signed-off-by: Stefano Brivio Reviewed-by: David Gibson > --- > log.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/log.c b/log.c > index 1e405e3..85b13fe 100644 > --- a/log.c > +++ b/log.c > @@ -91,6 +91,10 @@ logfn(warn, LOG_WARNING) > logfn(info, LOG_INFO) > logfn(debug, LOG_DEBUG) > > +/** > + * trace_init() - Set log_trace depending on trace (debug) mode > + * @enable: Tracing debug mode enabled if non-zero > + */ > void trace_init(int enable) > { > log_trace = enable; -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --===============3592256458342113857== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUVCQ0FBZEZpRUVvVUx4V3U0L1dz MGRCK1h0Z3lwWTRnRXdZU0lGQW1NL3pLRUFDZ2tRZ3lwWTRnRXcKWVNLaG54QUFtdXJZWVJ4OWN1 UXhCYldiS0JqamRQeDQ2NWIvbDMyWHNxUGRGVEE5ZjJMQ214VHR5VDlyZ0VvaQpjb1RycUhrMXlr SG9JSnRTTVZKV3BSTFVTVlhYTExYaHAvZzJwM29iU2FVekZBT2liWjkwamNaY1pQc1ZXQm0rCmpJ aitXZlJubHpOTGFtYlg0SFpTazVHUzJBVGp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