Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4716041rwd; Sun, 4 Jun 2023 11:04:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7I6NBNu7Xmuq780obHVg4gooQc1af2cV6XybPF5P1/y0W5zeYJMdP67yDcaPUrQ6B1h42w X-Received: by 2002:a17:90b:1204:b0:258:8609:f1e4 with SMTP id gl4-20020a17090b120400b002588609f1e4mr4765863pjb.24.1685901843664; Sun, 04 Jun 2023 11:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685901843; cv=none; d=google.com; s=arc-20160816; b=rbpCgzrC8l3q/zUBEA87h0+tfYE9STlk9b4qfrvqo6b8OD4bY0rX/1PcHF0dv26WqI +nPorCGxqSazSicoyStbqq44iQ0chK/QNlu6dxBDS53GG6fubW/lklr2+Y/dVgeOBtbe S3MwMTYnpo+1K8CAihGVS7SjBf6c7YCUFin6Pv4zwFlJ0Q4fpfqYmX/3I1w2BEWEK/h0 ARYITxNr2kbGm77I2n18UYKPqcUuxephzVLHhIKrP2LjzqG6Bo0fhsp0Wm1xDjB9cZ47 2GPkiZAL8OzYTF0la24BP+2mDGBHk5aoRvu78PmUptJ6t07SyZNMxCNV04cHzq8kYAKZ 9Z9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=8tuReGumGx5Wv85MrtWjYRVw7RQeKVwg++eJQNKhbh8=; b=js5Nt9P9IpGn/GjVLkcFEamOb57E06Kz0cP9fc5wHxdBpwvQxPWx+iJzeJD/graJZ7 5sP/1YApE5asM5Wskb+2p3pKzWJHHZ3Ob9ii9UxxTazwfJSNpjS7wR45tyjhs5xnM7gc VI2VwCJjiGUEVaeklVVv8BWUgMa8H/R5LW5ir+4A/zJQh3exQN3b/BYrD5KtdEeTC3Qq kd0TAwWfmNl8qFXBdAJSPVFsl3cAmFejTKgDXC5sxxP5ct7fQ2cFJvkQzbk2o223FrYS 5H3azmtIub9IV04/MlD7vlB1V5mqflLTFMwqVRoHcWg0SQNGha0uv+FsMHV3SfECWGMq KxxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=C959Vz1t; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a17090ac90300b00253326d4e5bsi4409189pjt.57.2023.06.04.11.03.51; Sun, 04 Jun 2023 11:04:03 -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=fail header.i=@hugovil.com header.s=x header.b=C959Vz1t; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbjFDRpL (ORCPT + 99 others); Sun, 4 Jun 2023 13:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjFDRpJ (ORCPT ); Sun, 4 Jun 2023 13:45:09 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C8DDA; Sun, 4 Jun 2023 10:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8tuReGumGx5Wv85MrtWjYRVw7RQeKVwg++eJQNKhbh8=; b=C959Vz1t371iA3KcP2+7GkI3oH u7gxBzjQ0nkjAq+cyEyTSetir1R7BxSDkkRO7VncSemw3rzL9nr2D8LvB8ffjEgDKiJgoyMsnWuZ0 B5y299xuFhNeUD66r6OD76xDOK6ozzdE6IKI7UOHTiOo3+4PrzEU0wuLIv5KsyCzaTDA=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:37774 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1q5rmn-00067x-Cm; Sun, 04 Jun 2023 13:45:01 -0400 Date: Sun, 4 Jun 2023 13:44:59 -0400 From: Hugo Villeneuve To: Andy Shevchenko Cc: Greg KH , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jirislaby@kernel.org, jringle@gridpoint.com, tomasz.mon@camlingroup.com, l.perczak@camlintechnologies.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org Message-Id: <20230604134459.3c3844012e9714fa2a61e642@hugovil.com> In-Reply-To: References: <20230602152626.284324-1-hugo@hugovil.com> <20230602152626.284324-6-hugo@hugovil.com> <2023060454-cotton-paramount-e33e@gregkh> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH v7 5/9] serial: sc16is7xx: fix regression with GPIO configuration X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 4 Jun 2023 14:57:31 +0300 Andy Shevchenko wrote: > On Sun, Jun 4, 2023 at 10:47 AM Greg KH wrote: > > On Fri, Jun 02, 2023 at 11:26:21AM -0400, Hugo Villeneuve wrote: > > ... > > > > +static u8 sc16is7xx_setup_mctrl_ports(struct device *dev) > > > > This returns what, mctrl? If so, please document that, it doesn't look > > obvious. > > Good suggestion. Because I also stumbled over the returned type. > > > And as the kernel test robot reported, you do nothing with the > > return value so why compute it? > > It seems that the entire function and respective call has to be moved > under #ifdef CONFIG_GPIOLIB. Hi, it cannot. See my explanations in response to Greg's comments. Hugo.