Re: string.h: Mark 34 functions with __must_check

From: Andy Shevchenko
Date: Thu Oct 10 2019 - 01:29:46 EST


On Wed, Oct 9, 2019 at 11:11 PM Markus Elfring <Markus.Elfring@xxxxxx> wrote:
>
> > I'm curious. How many warnings showed up when you applied this patch?
>
> I suggest to take another look at six places in a specific source file
> (for example).
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/test_kasan.c?id=b92a953cb7f727c42a15ac2ea59bf3cf9c39370d#n595

The *test* word must have given you a clue that the code you a looking
at is not an ordinary one.

--
With Best Regards,
Andy Shevchenko