[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] checkpatch: Detect '%#' or '%0#' in printf-style format stri
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] checkpatch: Detect '%#' or '%0#' in printf-style format strings |
Date: |
Tue, 22 Sep 2020 11:22:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 14/09/20 15:00, Philippe Mathieu-Daudé wrote:
>> That makes sense, except that 'last' statement which will escape the
>> loop if one of the bad patterns is found.
>>
>> Maybe we can just drop 'last' from both if-then blocks? We'll get
>> multiple alerts if bad patterns are used more than once in the same
>> line, which sounds OK to me.
> No objection.
>
Sounds good.
Paolo