Re: [PATCH] string.h: Mark 34 functions with __must_check
From: Steven Rostedt
Date: Wed Oct 09 2019 - 11:09:48 EST
On Wed, 9 Oct 2019 14:14:28 +0200
Markus Elfring <Markus.Elfring@xxxxxx> wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 9 Oct 2019 13:53:59 +0200
> Several functions return values with which useful data processing
> should be performed. These values must not be ignored then.
> Thus use the annotation â__must_checkâ in the shown function declarations.
> Add also corresponding parameter names for adjusted functions.
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
I'm curious. How many warnings showed up when you applied this patch?