Re: [PATCH v2 02/14] perf arm-spe: Fix a typo in comment

From: André Przywara
Date: Thu Oct 08 2020 - 09:45:33 EST


On 29/09/2020 14:39, Leo Yan wrote:
> Fix a typo: s/iff/if.
>
> Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>

Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>

Cheers,
Andre

> ---
> tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c
> index 46ddb53a6457..7c7b5eb09fba 100644
> --- a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c
> +++ b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c
> @@ -142,7 +142,7 @@ static int arm_spe_get_events(const unsigned char *buf, size_t len,
>
> /* we use index to identify Events with a less number of
> * comparisons in arm_spe_pkt_desc(): E.g., the LLC-ACCESS,
> - * LLC-REFILL, and REMOTE-ACCESS events are identified iff
> + * LLC-REFILL, and REMOTE-ACCESS events are identified if
> * index > 1.
> */
> packet->index = ret - 1;
>