qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 03/11] scripts: add coccinelle script to use auto propagat


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v7 03/11] scripts: add coccinelle script to use auto propagated errp
Date: Tue, 25 Feb 2020 12:51:07 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

23.02.2020 11:55, Markus Armbruster wrote:
+|
+-    warn_report_err(local_err);
++    warn_report_errp(errp);
Likewise.

What about error_reportf_err(), warn_reportf_err()?

Hmm I'm afraid, we don't have corresponding cases to update..

We can still handle them here, but, then, should we use nonexistent 
error_reportf_errp, so if it matched, we'll have compilation error?
Or may be coccinelle has some kind of "abort()" on the match, to error-out that 
"please define error_reportf_errp and update coccinelle script first"...

--
Best regards,
Vladimir



reply via email to

[Prev in Thread] Current Thread [Next in Thread]