Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3669548pxv; Tue, 13 Jul 2021 00:36:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPJTqYmC4VUmtvfe3YmJinEqjo3ctUirgwLq0mWxizccU9LCh8HzbUxl+XQsD6W2kLuvE5 X-Received: by 2002:a17:906:58c7:: with SMTP id e7mr3935718ejs.197.1626161801991; Tue, 13 Jul 2021 00:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626161801; cv=none; d=google.com; s=arc-20160816; b=1Io97dYcGb5JDMBaG+fZpHilQu6uLmNGqxBYngLuvYDf5usIrjk12b0rtvtSOf2DIC dZLC0at6TxQxoM9KfIkzkZX1+1IvQKolrtVCYLkZaNTiG90AJeFEamqZcbnMm/TL0fAI H/ZhC8rxJyFmjI5NIMnBUnl0pmfAtNdDe4YdOMjjedRNMSRG0tLcyuuyzAiYPfK15flJ TbTzvTlAPQVShYPH7IETk5wFZMMiDOxFHayfGZ+aqDk/iTtPgG4pbYPKP70UvuEX8S2W NQOpbNx0vTm+cO6tZixqJe+zTbtbbaLjr1Z7RCFbwuY2km7eTYf+0PsnCOQNdHH4TZez dpIg== 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=lDXX6aLRLFwz2lfT6sXQWOct2gpF65UcPwyHGrne0Co=; b=KJ1dok0ANyIwj395WNN/XZqwdUzRe5eSBvIYoNDEttPce0nWDXMwjRzt9Vkvd05Bvr UseJgFqSP1thNeu/pwL+xyeMBEPs0JcOOKrEEe130l4cM6IJGtq0kjTqnbTdtGz7hLx1 kwEaGLqqn7OaYf0etVDlKoZXi7b3ahRZBlloQUJTp/znkZBVgn8+5Me+F1Ixw+/RCOlC fSd2ektJqNQVg2HbqAzw5sTEfR4Vd5n6rCM37ZS81IVlcFR9cxixBZJ+sXGMjT28NKUr vGYkj2igLRwvyGBm1ojYemdsVF2dTx8mg9Pd4cawkuB/aWkPjTMFu3brcqwV5J/vREt/ C7ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FuDtjjEE; 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 7si19850207ejh.506.2021.07.13.00.36.18; Tue, 13 Jul 2021 00:36:41 -0700 (PDT) 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=FuDtjjEE; 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 S234172AbhGMHiR (ORCPT + 99 others); Tue, 13 Jul 2021 03:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233762AbhGMHiQ (ORCPT ); Tue, 13 Jul 2021 03:38:16 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56110C0613DD; Tue, 13 Jul 2021 00:35:27 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id v7so20873844pgl.2; Tue, 13 Jul 2021 00:35:27 -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=lDXX6aLRLFwz2lfT6sXQWOct2gpF65UcPwyHGrne0Co=; b=FuDtjjEEv8z4K71c2XZNdoUpw/GLqIkymVWoS0dExrqNTrNVncs9H7Nj3TxK17kJgP AOmxt5MuCyqGpf+U5ZUOGw8z7K1gmB0gxSa4rroTIQe8V16Zdk0KEHNmSAwhn4YNaqLe oi9wWsQi4aRjiyQAJABg56p3S/HsAluDXqZCXo6hryVHu9DffgYKvuqfe9HhKCTH+kVl pMLO0vw+cfs65f2suu/5JDSBlSV2Py2JKvobQBCa6Nmvaduwz4tTw7ayrRu54OmJCSYU u+yhdDbUnT/nMocKsL2ptMcTraQDO8GhVUVLzHFGObiPSeyglliCGdMqRGNFj74dggOL J+BQ== 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=lDXX6aLRLFwz2lfT6sXQWOct2gpF65UcPwyHGrne0Co=; b=cSxcXvZRz3c5d0R3Gn2k2LLRvNekGjDpQZF6Bwrj++RtTzyBHUN7IBE8oDcYf3sMTc iZ2PH1uD5ItMspuZAfds+XqxHPPnNyr/XzaJV83i7YyFaCVfTak8gx6jvZonZFirU18M qRfW8zbcUj4KncPlKdMRP0aQl3Sx10Jmr6xj1SiAokjwRt27txlh67HzgONHJ5oPIb4l +b3wuTfQrSvOaAbP8r68KugVfQte/lNt+Xt7kPQjVgHljgCu9O+1MrLt0NKgjzKPblvP JiWKCjJ82CaIo7cwG3CLIOcmB07uGjbbQXpitcyzUuuPqX5w4Qeh4ZDwRfz1xmCC5E02 dGSw== X-Gm-Message-State: AOAM532xFScP+5XrTwTB+2IGlrxcqojgKJ4/9p/1b9mEaGYtHHWuCwSd MTkebHsxKIp3MyoS57BbXNLTXHIyPOKJnG+/TlA= X-Received: by 2002:a05:6a00:2451:b029:329:df3d:62f2 with SMTP id d17-20020a056a002451b0290329df3d62f2mr3293864pfj.7.1626161726846; Tue, 13 Jul 2021 00:35:26 -0700 (PDT) MIME-Version: 1.0 References: <20210529111935.3849707-1-andy.shevchenko@gmail.com> In-Reply-To: From: Andy Shevchenko Date: Tue, 13 Jul 2021 10:34:50 +0300 Message-ID: Subject: Re: [PATCH v2 01/13] leds: core: The -ENOTSUPP should never be seen by user space To: Pavel Machek , Amireddy Mallikarjuna reddy , Linus Walleij , Abanoub Sameh , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Krzysztof Kozlowski , Linux LED Subsystem , Linux Kernel Mailing List Cc: Jacek Anaszewski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 23, 2021 at 4:16 PM Andy Shevchenko wrote: > > On Sat, May 29, 2021 at 02:19:23PM +0300, Andy Shevchenko wrote: > > Luckily there is no user which checks for returned code and actually > > returns it, but since the function is exported any user may try to return > > an error code from it to user space, usually during probe phase, > > > > Replace -ENOTSUPP by -EOPNOTSUPP when returning from exported function. > > There were no issue reported by bots, no comments from people (except one tag), > can we do something about this series or should I amend it? Pavel, do I need to resend this series? It mostly should be the part of v5.14 cycle (half of it is the fixes). -- With Best Regards, Andy Shevchenko