lkml.org 
[lkml]   [2019]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] string.h: Mark 34 functions with __must_check
    On Wed, 9 Oct 2019 14:14:28 +0200
    Markus Elfring <Markus.Elfring@web.de> wrote:

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > 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@users.sourceforge.net>
    >

    I'm curious. How many warnings showed up when you applied this patch?

    -- Steve

    \
     
     \ /
      Last update: 2019-10-09 17:10    [W:5.566 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site