Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1894048ybp; Wed, 9 Oct 2019 22:30:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO4BD2PqTznhBw2Y5JNnoDu6DK6PCF9Ix6KRLBvM37ZgegyXSrNAbvKltG4mlldx49FU35 X-Received: by 2002:a05:6402:1b88:: with SMTP id cc8mr6453142edb.22.1570685418764; Wed, 09 Oct 2019 22:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570685418; cv=none; d=google.com; s=arc-20160816; b=JGn36p/tbrTs9v30nnGvJf2h3mxvO5l/mT70iGa/bSVtoBe5Dj0I0aTYlpUV23Z9FX XdBSmyGVFx20POPyTtiObZnnDbGL2DmnOXHv6EhSh/+yzeRHKG0MovbvYq0YGg43qvJB 4hcKwK6gzhyHQVf8AVJImhurtSbUWIUk/gdOei9g0IX2dn8vBBjyQylPxofFAZ3skJS2 1BXo8NXjLvU6M+09YXQS0hfKg7gYm6Hy+9tmYk9VKzCIRhCKSRKaNcMJ2CLetJY7iJd2 r7eU/45lkdCrfhfOkttGeNYeBf6F75ArGzUx4wMw7MRRRA6ImX+kYsTEokyKnlwKDhaD 775g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4ux0oG1N3RPh/ZQT3Rg4tacx00lUapXz9BDpB0CV0W4=; b=X3W2AVzIZY7dHr9UqlngU9djqGF/lUomXTO4BkpiD7EzEIfTu61BTpVlZeAweY4Ii+ 9D48qt+tjYoGxO+SIJRQ8VRWVF+U8EKqIHuKgHlW4WOOwTfeItiJXvqte8IOtO8mIcP6 xwwgkRyXsnLXDopLnvnfwchj/jaTgJa4tRQiS4NWS+uyeT+tAb3mWEV1n/aTgNZtANLh aQ3Q6KJfcnAFhzC74zktK7ejv/pzWzsUczdLQ6rR1BlIUCQ7Z1shp1EbV9jfZXeV95mc DwyqbAZ4jcTdN9Cmxi1sAs6HrPRMCeqmuSUkRo+Y6xX5rTPvxUeHfjjIf8aT0qAJ4X/O MJ7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O2OVnJzN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si2435710eju.333.2019.10.09.22.29.52; Wed, 09 Oct 2019 22:30:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O2OVnJzN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729045AbfJJF3c (ORCPT + 99 others); Thu, 10 Oct 2019 01:29:32 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:32989 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbfJJF3c (ORCPT ); Thu, 10 Oct 2019 01:29:32 -0400 Received: by mail-pl1-f196.google.com with SMTP id d22so2220516pls.0; Wed, 09 Oct 2019 22:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4ux0oG1N3RPh/ZQT3Rg4tacx00lUapXz9BDpB0CV0W4=; b=O2OVnJzNFrJ4T2mCO2MB48G0Ac2WW826iVZ4FxX5BR3EpPRSRpzRbzB+XLa98KIKmy PXZsCDZVW6f9jW6c0LpJ9b1rQ04RiZlYK1FWVx+bbq4dappg5kqZcu87EvlzpsAJTqv+ fvI96b6MnAYXjMdVnkWOL1sznL95gFO7l6BV/OlEbchIlCKvufZeKkyCiw1B13oo1rac J+vWB9QYBgGFyw5Dy4R0eirHfEBpF5y7ujD88NOkcmnFJFf0PsPgLXo5s56YkZyW/O4i OA3e6D7AaAtJBwzybvI1BmlEYLsQITadG7H9bMlOdppegK4On8WWMOGvkjMs1wSoOkOK VwvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4ux0oG1N3RPh/ZQT3Rg4tacx00lUapXz9BDpB0CV0W4=; b=R3A+ULQDPXtpvexCUTmk5MVBvS+JVojknPkoK4lqujpqAzhhtUyfs9rpZJW8wQ0KyL mMUKf0F25zbjCjBY5l/86gnm7sdDm9QjngKQsmue+qbTn0s10W0gmOYESmPEUtvNyxGg Oa4syR2yh+z1SwQh5fViwsgjxUj9W5Phkoyr7yu9DofNHo9VnlaS8I/L/FXwExAo4IV+ TGaArkZCmLuQ0B6YQriKMIUHH2BF5uA6e4quSQ1I+dFtd368v1MVpoDDKFCol06T7Tk9 XH+MwgEwzPdbsppMisdWQVOFyxPx/0YO9yDit7Bsind84gBndmgUJCP8f4eRSyDwV03x QUig== X-Gm-Message-State: APjAAAWZwwDagfeC8NxUrLhwSMSNRqBefWhDDnTuUBK2s9A6D73TGKnD oPKh+FrPa7x+7J6IqBCB4SPL08lhOECtdUiWc4c= X-Received: by 2002:a17:902:9881:: with SMTP id s1mr7620856plp.18.1570685370251; Wed, 09 Oct 2019 22:29:30 -0700 (PDT) MIME-Version: 1.0 References: <75f70e5e-9ece-d6d1-a2c5-2f3ad79b9ccb@web.de> <20191009110943.7ff3a08a@gandalf.local.home> In-Reply-To: From: Andy Shevchenko Date: Thu, 10 Oct 2019 08:29:18 +0300 Message-ID: Subject: Re: string.h: Mark 34 functions with __must_check To: Markus Elfring Cc: Steven Rostedt , kernel-janitors@vger.kernel.org, kasan-dev@googlegroups.com, Alexander Shishkin , Andrew Morton , Andy Shevchenko , Joe Perches , Kees Cook , Nick Desaulniers , LKML , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 9, 2019 at 11:11 PM Markus Elfring 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