Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1620923rwd; Tue, 13 Jun 2023 11:34:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69YLGEdf2284Wuk7sAAOgvSHOeHANRgj0tGYBUCDLYbjQ79lFpdSGQgV6Dp4Trke6CDiXV X-Received: by 2002:a19:8c18:0:b0:4f2:7dda:ad06 with SMTP id o24-20020a198c18000000b004f27ddaad06mr6264945lfd.10.1686681297010; Tue, 13 Jun 2023 11:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686681296; cv=none; d=google.com; s=arc-20160816; b=KKkQK0HzMemqZ4xcwnKKaCqQyQwP4pqzxjmkWxbey84CsQfJQUDUTFOLrvGg0vSBy7 xsmNMlOrgonkOtZQ2LXf4Ta4ccJDLSqpuTN/4hovR1FLhea1ULflhAtdKTVxo81IzbC8 gR+4Cf3A22jiAJ6nWwq6yc97I9MazmwZNHMuki0ApmkhBrkJxHfAKnsnRZOb9ieCYvJa Ppo0S3pBxKWGYjnPiEA5JvM/5bdjUGqXkG82isori7DPzGfFWZMLkn1O8KPsLxjAC+xY YeEDMzjfy2U71xqwht23Uv/zJw/zNF3q9xfTxSmliC4Ne9WNgQB8EstFjMwllSQ7X96M g8RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=L3jeE7DVQL64/LAB0gEQ9aqldA64x4ArcQNWljKfFuo=; b=w3HpJw3c/TRPq3t+mClOtCBs7MgOXFCXkaKMWyE1N0Sw3+rwoz93PnjI7HPZ40mhpZ Gft3phSN5n6MOkiNpJp4zXiri+/AEMyoafX2TJbTDwmKhuUY7llUHLnKimvW2Ncannte 27cL0DuzNyYVwHShKVFGWGgsiANRPkfoR5hmOkHUE9k+0dJY/e/hQ5EixE7ZTxENHJps ltb3qYuFJpJO+/CGkft8CJt/OH7djMI61LF//jo5qOih19nu2OVePPfwe+1lBXVlrP7M zwuunL+OnOOfi20JRyRx5q/RfZ9ehZ36kwo15uXPI+3eb9ktvYIKHqiV9nkOxkKoV00o j2fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N9QOc3XQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a05640210c800b00514b2a9ce54si7827795edu.213.2023.06.13.11.34.19; Tue, 13 Jun 2023 11:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N9QOc3XQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235608AbjFMSSO (ORCPT + 99 others); Tue, 13 Jun 2023 14:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231285AbjFMSSN (ORCPT ); Tue, 13 Jun 2023 14:18:13 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0BAF1AA for ; Tue, 13 Jun 2023 11:18:11 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-bb3d122a19fso6053146276.0 for ; Tue, 13 Jun 2023 11:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686680291; x=1689272291; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=L3jeE7DVQL64/LAB0gEQ9aqldA64x4ArcQNWljKfFuo=; b=N9QOc3XQA+yTi24Iik91xssvIngenc6CeXLc050E5jJ8bxjxCGCB0d0NYgyixiqXjQ ZYkJjJAbX7djbP7DjNsdZFykL6Y291MLKoG86b0WyhxMEDVj7l6y0CyU6DSSW6VtQRRE a8cMZjgJgOyvGvfqN5WhHnkFgm1j+PkESZSErFspwfY8Q5jLciZrqDHp6Xsfhr1WLrqO O+RxfCFISy0qDCybu2afEro3HDy2+o9sOflLUsLdaOxUmxq4fAvbgzY4ZntKDUo+NSka /MfJ6GMKQDoLY+KIzRNm0SGvIklG5E6KY3oz874rOJok/6DvrVNcjExgINf7Z0TiJycF fTjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686680291; x=1689272291; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L3jeE7DVQL64/LAB0gEQ9aqldA64x4ArcQNWljKfFuo=; b=WzD7y042EZ6kYok4w2BMGpLskP1PyEFlEMMmjkQAlPVFjVUfil+f1MFohabvcCi82x NqIHCCzvrebbWgjf/S2eiZOqQ1cjBS6WOBYN8dstyQ4Jk3DFYuvjLvyrJI0rSD7svdMH RFBSvPEDnNh2LSPX8mfW3YgxSwUgBIW/hyRp1pAz0yTLw8tPH/bvqu1PKjzjiTWbmHJK pRM8Qo9+SciMkuSYvHpYRiHxGZCsLqhHmJDMSjrasmFHdOIgxrIdpz8kizVXb80bj/Vo 87zFC8KuzrGRJrcEDhnEfBY9opB7gBEk2e+jmQQN0uvWzVm1X2zHInivpj0QsA31/knD lwrg== X-Gm-Message-State: AC+VfDyeg8jzTj+quRdC/ULra0koOupv93NX4ac0WCq+2EyueEWFQptQ xM9L4rPKY3HfhHDhDPnMeaEFClWtojszO1BM4yVeMQ== X-Received: by 2002:a25:da8e:0:b0:bab:badc:41c6 with SMTP id n136-20020a25da8e000000b00babbadc41c6mr2079962ybf.24.1686680290957; Tue, 13 Jun 2023 11:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20230604131215.78847-2-andriy.shevchenko@linux.intel.com> <24d8898b-1e3b-8180-e96b-a3296de178a9@web.de> In-Reply-To: <24d8898b-1e3b-8180-e96b-a3296de178a9@web.de> From: Linus Walleij Date: Tue, 13 Jun 2023 20:17:59 +0200 Message-ID: Subject: Re: [PATCH 2/2] pinctrl: Relax user input size in pinmux_select() To: Markus Elfring Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, kernel-janitors@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 13, 2023 at 4:38=E2=80=AFPM Markus Elfring wrote: > > This is debugfs and there is no much sense to strict the user from > > sending as much data as they can. The memdup_user_nul() will anyway > > fail if there is not enough memory. > > > > Relax the user input size by removing an artificial limitaion. > > How are the chances to avoid typos also in such a change description? I don't care much about typos, and when a patch is coming from Andy it's certainly not a blocker for anything since his patches are of high technical value. Yours, Linus Walleij