Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp527467pxu; Tue, 5 Jan 2021 19:01:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyuYdkAQ/+xBie+Z+JBLk4J9ZxrKk82sgkFAYujA15lFTzbyLzy/m51WtCjxFwiyxh7K30C X-Received: by 2002:a50:b586:: with SMTP id a6mr2536936ede.206.1609902114259; Tue, 05 Jan 2021 19:01:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609902114; cv=none; d=google.com; s=arc-20160816; b=clZ4OM8HuJyuLaJaIpO3Ucv0Lyf0HQgVBNkyf8/t/2LyoXGqBvENPUF84lkTrDeTuO xOVVtgoiQGR35rL/qpC3ASaxqCCRYWa1mtcQCVO5G6Efvuez7qYUUeB960uxHKZe6Bpi kpXVGZtogn85Umk/zZEQvrhGCobFmbWp63mowdiZPzC6HUIj5m5jYzXRSmsk5aeGdeQ5 uekuMgjxGnw6EJaMeyYDQOXq/coyZx97ddtO0vO6IbM87qvxIWqnYzXon+Al45Uho1tV xTQTnWZkzZlcCLPgisLXrHkx6PQ1Uie95rH/wxBZy/3m7X7PgFUg6cfr1EvfkPfFlms9 RFcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YXNN314Ke16i8waxDdpAwNKO1Slgul44h60adPucfvM=; b=ZyG5/Zrzrruk4KkzZAHvYETQwmJAoeDZE4Tsoq2EG0ro4pOOQNYu/4bcE2nvHvC+/q +VldDXQcxDh/8kNprSLO1odJd9RkMaVOSFOSDMM3tA1Eumo4G+ssVBWfEt7LtqCHy5N/ WQfuFnf4NWZVbNMnNRmQm67XnBad5N37NV82PTc1g3EJsJ01CJ8CtTd9nJYfeygnQLTp 74T9hk9KJ01tzoYXqQqLn3BKyiqaHo0XBJoiXE6F8AuyeMBNbk9Xn/8GlqJf/x7DYA/w SvH9uppSsjeuLsKo5jJteiJJlP7W3noyNEkG00pa38QkZmL8C+debRLMkcucVrhHlrv+ Fxdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FWbO71su; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id x22si414893ejj.576.2021.01.05.19.01.30; Tue, 05 Jan 2021 19:01:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FWbO71su; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726171AbhAFC6v (ORCPT + 99 others); Tue, 5 Jan 2021 21:58:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbhAFC6v (ORCPT ); Tue, 5 Jan 2021 21:58:51 -0500 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D066C06134D; Tue, 5 Jan 2021 18:58:11 -0800 (PST) Received: by mail-yb1-xb2a.google.com with SMTP id f6so1477371ybq.13; Tue, 05 Jan 2021 18:58:11 -0800 (PST) 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=YXNN314Ke16i8waxDdpAwNKO1Slgul44h60adPucfvM=; b=FWbO71su7AGP3jCSwoHF9Ad9eOQ0W49rjRbTJ9Dln4nezajQIVMflxewsq2o4csbdG FD2VJK0MLugciYNLBFGQHEjwYExF1x56/J9BFQb+Eg15JazOSrVWuBT2T1izWAMeeQcI 9n7lNYF9a30jQSaGqK2IuApXqbgEX0qSa13KjJBVNLlJle6bEwiYIv69YUrGK4Sme4CF KDl+Do1YaPAK7UJTFOxmY/SVPd4CcC9jzNgLunEk/ldke2Gs2xUf2JWJpW2VlSj0M0Ge ikS2TjnkIL7rRzG5K1n/MItMUUimH2FVrkfdW7z7HOFqvVMAS9U9isSFd2PTckHv2n/n dqzg== 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=YXNN314Ke16i8waxDdpAwNKO1Slgul44h60adPucfvM=; b=WoDzgkNvOZs6OjLxIsrdH+ltwLCwnvXqnw6d4EvdSfuY6SDtYMMjQJueiJ93Bsmvlb s5WetYnKvU3JFAyOlCLlS0Y4XIWLiY5ASlAOQ+a0G4suxbBEybiKRFilnYA5y5tsoGHe jSDeqTJBBdmldvo5lK1IejaA+MpGbCaFe6jveIjKtYZrUNHlxm9NGpFsfa0ty1bpZAYs 9TCj08Wdg5aWP+MqTAo7jlWbedNfg5d7NlAAaaU41vWgebZ3Y421XVys1vrKhMcEP6EL AdTIIqS/REv9mKDaRXyVcLy0rFqP47MAUdpIN6OOdvMTEIOUsrijXcN7Z+p+Z149Q+Yx R9+w== X-Gm-Message-State: AOAM531j1HQkgkRXlV7u5c+cmX+z45afp/vou6zQj8BizhDsTpOgH/mZ 8TJ8yRdxvCgJtKv7BfQyqe19eNWP8/dRceHm1wg= X-Received: by 2002:a25:40d:: with SMTP id 13mr3520172ybe.422.1609901890523; Tue, 05 Jan 2021 18:58:10 -0800 (PST) MIME-Version: 1.0 References: <55261f67-deb5-4089-5548-62bc091016ec@roeck-us.net> <20201222210345.2275038-1-ndesaulniers@google.com> In-Reply-To: <20201222210345.2275038-1-ndesaulniers@google.com> From: Miguel Ojeda Date: Wed, 6 Jan 2021 03:57:59 +0100 Message-ID: Subject: Re: [PATCH] fs: binfmt_em86: check return code of remove_arg_zero To: Nick Desaulniers Cc: Alexander Viro , Masahiro Yamada , Guenter Roeck , linux-fsdevel , linux-kernel , linux-alpha Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 22, 2020 at 10:03 PM Nick Desaulniers wrote: > > remove_arg_zero is declared as __must_check. Looks like it can return > -EFAULT on failure. > > Cc: Masahiro Yamada > Cc: Miguel Ojeda > Reported-by: Guenter Roeck > Signed-off-by: Nick Desaulniers Cc'ing Alpha list too. Alexander, fs-devel: pinging about this... We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK"), so this should be giving a warning now unconditionally. In 5.12 it will likely become a build error. Nick: thanks for the patch! (I missed it in December, sorry) Reviewed-by: Miguel Ojeda Cheers, Miguel