Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2818949rdb; Mon, 4 Dec 2023 08:19:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2MIhKbbUkOE7MAS0Au2Yk5ihQwqDJcvBDVGfiWqTve60oksCf+DlXPZbjZUa1eo9LHN0d X-Received: by 2002:a05:6a21:164f:b0:187:97fc:6c56 with SMTP id no15-20020a056a21164f00b0018797fc6c56mr2130051pzb.49.1701706760966; Mon, 04 Dec 2023 08:19:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701706760; cv=none; d=google.com; s=arc-20160816; b=pDq1CgnpzHEzF2nIO6UY+8zjnWVuoU/Cfnu0DI5HpbSu3/4Id09cgbbchcTmtuhgGE kT4q6HqG2/1gOBw1ZLdmJiisMpJ1/lmYoe982awnJDJSn4YdbJsExLooxlLvn/6DU3D+ g72p/5az2nwH3ERde8ij1U1IMyNBJF4JDLr7s1OIRVHmnmvgmyRCRv48lXnybao6qe+p PVjWhJe8Os8TtJI6940YaAW81869Az6fmlt03ge0uWdMqeegEjk/WuoNYQeHhI/8v+D5 lM8Hi5tSh50ZfeBZU82N4XqkTmyZQXVgKeanE7grhs24wJtVfF/EiAvEUBRN1mojIrH8 u1kw== 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; bh=OqpLMwVjD0GwCJTY/0OPJj3zK6DfO090/PbcGQH/Vg0=; fh=4XYC8ES/nFVDZl0Mnxv5RaFR0UvjS6+9I81ExivVrNs=; b=LCRHUYAFs8jBNXNTg8I+Q/aT7opwARL077AXrwAdnwN0XJR4L5tX5vJINjwXnIAj1T tBy4LONmWPkZvGASWlMaPVbMRk1UsbCP+U+GIbBMHnP1ql+E8+tQ2dU0o8vGkOUamtk1 6ZvLjL1Zf1l+CYo0EVI5jgUUy+IWctQV1IZUahL0eWPqmB+DLhO84UP6tWXBsusBZXao M6yMFspAfNqKKzmlMtTBLEKIXrQJ3NKjN2C/mbsa2tRPPDiqaSvVjWDYYOii71aKzhRr 7H121ehGsl8xZ1kal0bRJnR+qKmaihSFhObg7axMlBXkfzTftGJeAzuk8j2Sib8rSSwZ NH5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u9-20020a63d349000000b005b93064798bsi8002343pgi.191.2023.12.04.08.19.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 08:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8A16280990DE; Mon, 4 Dec 2023 08:19:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234944AbjLDQS7 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Dec 2023 11:18:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbjLDQS5 (ORCPT ); Mon, 4 Dec 2023 11:18:57 -0500 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDE5CCB; Mon, 4 Dec 2023 08:19:03 -0800 (PST) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-da7ea62e76cso3051801276.3; Mon, 04 Dec 2023 08:19:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701706743; x=1702311543; 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=p7w+3vK1cdmy3dgE8i5YLvNj03CSI+W7QHOKK1BsUDk=; b=Yd2/xKa+HXY8quN6KqHD4odBxQHNcYG71LvKD71RZgiOXB7CEjXCp58SCuJLJKKxnM y6YAdi9VRxb9yvJ2NohFzcRnbSjbrvn9aqcC7pjxuCN2o0MG3PexNpzfFLSoWB35E4TY yA8ok86YR5gC3CrY/1PEN7aQYbu0jiP4PVcAei9Yd/4sgK1iqfbO2uthQB4xWn+GUCh9 e9s459ZRCJLLR49NZKLr22/IOLY/qsAI/+ZU3NGXaotwwkRI12S50BvM4CQ6yg52zwrE g69QbdfDrTbS7YPMl+qM81sOt46WI4aei6bZfaKMnklY8NpM4eXfep3LdMGFL9pSq1qo aurA== X-Gm-Message-State: AOJu0Yy19Nsgoh+V0+8aw0FRfrbI56EChKB5Wp4elUV/aRyyprPQpmTT cizJ+YmyAELYoQHRDNUbHb99T56XLOwQYg== X-Received: by 2002:a0d:dbd5:0:b0:5d7:1941:aad with SMTP id d204-20020a0ddbd5000000b005d719410aadmr3154455ywe.72.1701706742991; Mon, 04 Dec 2023 08:19:02 -0800 (PST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id u189-20020a8179c6000000b005d34a381f59sm3368108ywc.102.2023.12.04.08.19.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 08:19:01 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5d3d5b10197so37164417b3.2; Mon, 04 Dec 2023 08:19:01 -0800 (PST) X-Received: by 2002:a81:9808:0:b0:5d3:464d:18d4 with SMTP id p8-20020a819808000000b005d3464d18d4mr3058167ywg.21.1701706740819; Mon, 04 Dec 2023 08:19:00 -0800 (PST) MIME-Version: 1.0 References: <20231204160033.1872569-1-andriy.shevchenko@linux.intel.com> <20231204160033.1872569-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20231204160033.1872569-2-andriy.shevchenko@linux.intel.com> From: Geert Uytterhoeven Date: Mon, 4 Dec 2023 17:18:49 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/5] pinctrl: renesas: Mark local variable with const in ->set_mux() To: Andy Shevchenko Cc: Linus Walleij , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Geert Uytterhoeven , Claudiu Beznea , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, Lakshmi Sowjanya D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 04 Dec 2023 08:19:18 -0800 (PST) On Mon, Dec 4, 2023 at 5:02 PM Andy Shevchenko wrote: > We are not going to change pins in the ->set_mux() callback. Mark > the local variable with a const qualifier. While at it, make it > also unsigned. > > Signed-off-by: Andy Shevchenko Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds