Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp571116rwd; Sat, 20 May 2023 02:55:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Hk/M22A8bTxSr6OAfrSdedKpbJvzICaSua5XyDag4+ffboA/rtEpUArz+bIGrTl3yILpF X-Received: by 2002:a17:90a:6fc5:b0:255:3ab1:df80 with SMTP id e63-20020a17090a6fc500b002553ab1df80mr972134pjk.21.1684576547714; Sat, 20 May 2023 02:55:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684576547; cv=none; d=google.com; s=arc-20160816; b=zz3DU8Wm++wDRFYwM39BjIAzVpzXMfrWT1VIfHD0FQpKccgBgz2bA7ExcokV9nAnwD yki9TLGzVvD4EBrEBPBDWByNbTErGKXVa1gUCWe9qKibqoaj4cvoquPfw8Eh3swZSOdL WJsPOI5OJ4mVFRadsndZaUqUsUVfnqMraCIaSOpc/xJm562SjCWIYHjL9XNiBK+JyMu6 V9d3qd7sGjHc23XjC8KBVn3fhrzhpmInTWY9BD9leeRDrqOu3TS8okC22x+7bWrQbLsI MucnU4e5dYBw5+pMwMjCQ/s7TOhtcoXjGyzC7EJiYjkQNmT4VV1nIfXtGQpW5NdEZ+yg RATQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:date:from; bh=TDJ/n8AZA+SEHEhLSCqvVxILt/X+itV45VViPKLYhps=; b=PHOSKXnKn9esVLT3mKESMm3uEFfCOY7kcoIFP/2/ZcO3fLJmIHgQaPpe1FnxiN+0tD 5zoW6LISSkzj+cFeoqI54hERVDMClF2FSy3eXfhchS00nxoF9AHK6FPtdbPSvYj3echW yAOKEo8Lz9jUWg9ZZiAGhps6oCsRiIEx3OO2eMfhSYv5rU8d+aiRi/pnm1XGM13ixRxx UajlCJO+aT+8oW3GDVj9UxCLyBCeULF4sG1ASlruKHp+dLg7rQXssCHmYR1smOasTHnk 8RQi4jPCXZZhtxHpoFfOZ1kcdoeMJ8irpwMtskE48XWAGnDWqB14BjIs72dn4xj2D6KU 0Pbw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a17090ac25700b0025355f85165si1154479pjx.139.2023.05.20.02.55.35; Sat, 20 May 2023 02:55:47 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbjETJoh (ORCPT + 99 others); Sat, 20 May 2023 05:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjETJof (ORCPT ); Sat, 20 May 2023 05:44:35 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC3DCE42 for ; Sat, 20 May 2023 02:44:31 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id e5b76b35-f6f2-11ed-abf4-005056bdd08f; Sat, 20 May 2023 12:44:22 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 20 May 2023 12:44:21 +0300 To: Bartosz Golaszewski Cc: Jerome Neanne , Linus Walleij , Tony Lindgren , Lee Jones , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, Jonathan Cormier Subject: Re: [PATCH v2 1/2] gpio: tps65219: add GPIO support for TPS65219 PMIC Message-ID: References: <20230511-tps65219-add-gpio-support-v2-0-60feb64d649a@baylibre.com> <20230511-tps65219-add-gpio-support-v2-1-60feb64d649a@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, May 15, 2023 at 05:36:46PM +0200, Bartosz Golaszewski kirjoitti: > On Thu, May 11, 2023 at 4:09 PM Jerome Neanne wrote: ... > > + gpio->gpio_chip = tps65219_gpio_chip; > > Aren't you getting any warnings here about dropping the 'const' from > the global structure? But this is a copy of the contents and not the simple pointer. -- With Best Regards, Andy Shevchenko