Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2850083lqp; Mon, 25 Mar 2024 10:59:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUxbuYH7jXo1qoYsn0av2xUxmf8ZroEVCFY7NGa3HuiqwrejEMoRJk2eKcDTeWoI+HMhdjnokuij4H4zS/MVfmXAnf4j+C7bQ5Vhwm/Ng== X-Google-Smtp-Source: AGHT+IFnto76IKr+b7X3NNspNHMoqZhnrt9HjAbAxj6mKGHoKQpxBnYokOvGAI535b2/YrwnLUdW X-Received: by 2002:a50:955a:0:b0:568:c608:8058 with SMTP id v26-20020a50955a000000b00568c6088058mr5513432eda.17.1711389557868; Mon, 25 Mar 2024 10:59:17 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fd11-20020a056402388b00b0056c06c4ac81si1760676edb.486.2024.03.25.10.59.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117568-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=YemJ7wqK; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-117568-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 283F91FA0716 for ; Mon, 25 Mar 2024 17:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8D5C57883; Mon, 25 Mar 2024 17:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YemJ7wqK" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AFA453387; Mon, 25 Mar 2024 17:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711387189; cv=none; b=Aqx01WktuHRrBWDmPcPsSSbMflHtBbWentjgCnlt+KMwbm0FL8pMs35BBwHcTm7BFzERRV0puGmr5hUg0oDc7tjhJvU4+iKmHPd38Spd4N9rIeo0nKt2zmLLXbf31uF3ZoI80FPSVGUoHvHONX1ZBvh29/v8CtneMUDLeal4jTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711387189; c=relaxed/simple; bh=75ihyrm2v0POCpOny14EBcy365OwfYgPNoejpuqAQ08=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=o6xbSbUPyV9eZzgOx9+wZIuEZZStNCQ94GAbEZRsfxmy+2o0CkSPo26F1hOrGedwCB5oLaNv+oMNKEV7VtitSDl2lpjQbWFyi7Hqj6XwwhVfu9SNwEunyLDMkMxHUadKpbPSH21p0Z3d31mb2KPznxbeMHASzB9aGr8H9F3kfM4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YemJ7wqK; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56bf6418434so2733227a12.0; Mon, 25 Mar 2024 10:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711387187; x=1711991987; darn=vger.kernel.org; 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=75ihyrm2v0POCpOny14EBcy365OwfYgPNoejpuqAQ08=; b=YemJ7wqK8p0gAwl7EGPnO4/6aOD74US5F/2KLM6UA4H/8N42BMTjmYc2ioG9TcWHV/ JhEhgGAvQO9/X5sUoPG5u1NvMzLzKA4buAwcpBvVArSfTqINEhVB/phZS2EYjXcXK8R9 4yOjvaMNOWwJvbLZAN7Z3WYkuiDfNYyEE5yzXx+N1A4jjPQqRkR2fwoQ4z2d5PstLo1f Amz8G5LqRA9pZpXYc2sBW2BrnXmgcCH6WmHljNGdTaeD0DW+0Q5UsrVOGV42koTAQZz5 HkuuNXMX7ebiWHB66XEtXPthxCNJcWeuZ0Vmj+0nImkci64MwcNWVbI4jrbufTfIWc/c sx4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711387187; x=1711991987; 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=75ihyrm2v0POCpOny14EBcy365OwfYgPNoejpuqAQ08=; b=UmHHF6JGVwDjn64xWdY+lJEK5aKkPfi0Ns/AoDkbJ9npYsja4YKAKMVrrHA17a+ieA RlYidGTV63bXgwLA3RP4iUtISPLqjynl1/94GAdOsymjDeyZY/NIkIL1uqTErZheT3tI PI4gkSxfPhfjhi8TyQe7FQBZ+ubHMOJbc8OYIaKamWiXIXxw8mtd2ta6raG2ClwmQZVr TzIPcPYPtS02yqDcMQzzLVkzE3LL2wOX1rLq7wCHuj/AVsczrpfEZLCz4nDmreZxM1BT Qge8mZ0bBLKkLvGnqWykIxKONpmnOlnEWLdypOQxhXq9MsOveXsNvpCjPjvScyOEtkvP /koA== X-Forwarded-Encrypted: i=1; AJvYcCUrnDh0PfBaOSd3rO8KmtNvAk+DrS6yaYOzuSVhnC+pptKRDObjT3rKC2YBq38RFypuRy+xf076KECk5EgQnKB0dN3w1gKP1dTpuCx1bv4AGG/Q+JNAHvQ4w/HcOXxf7B5g4B4utPBrPA== X-Gm-Message-State: AOJu0YwBPedPP+LfScpMejUqGgHbD5e9VFidhvDF3C7RsQG9jx2uUsWj g3vGQb/bG514O9VHeecfduXa8ocDR6IKfP3Jyw3j9qc1qotexlH7q8lDIqu2OFKDSnTuBUIM/46 mq/3cHZhI68JcaJZQNJblJDMiEl8= X-Received: by 2002:a17:906:3650:b0:a46:8c03:b659 with SMTP id r16-20020a170906365000b00a468c03b659mr5122572ejb.42.1711387186608; Mon, 25 Mar 2024 10:19:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322073725.3338266-1-peng.fan@oss.nxp.com> In-Reply-To: From: Andy Shevchenko Date: Mon, 25 Mar 2024 19:19:09 +0200 Message-ID: Subject: Re: [PATCH V3] gpiolib: use dev_err() when gpiod_configure_flags failed To: Bartosz Golaszewski Cc: "Peng Fan (OSS)" , linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 25, 2024 at 6:24=E2=80=AFPM Bartosz Golaszewski = wrote: > On Mon, Mar 25, 2024 at 5:00=E2=80=AFPM Andy Shevchenko > wrote: > > On Mon, Mar 25, 2024 at 04:48:27PM +0100, Bartosz Golaszewski wrote: > > > On Fri, Mar 22, 2024 at 4:59=E2=80=AFPM Andy Shevchenko > > > wrote: > > > > On Fri, Mar 22, 2024 at 9:29=E2=80=AFAM Peng Fan (OSS) wrote: .. > > > > Bart, are you aware that this will add yet another possibility of > > > > scary '(null)' in the error level, which is much likely visible to = the > > > > end users? > > > > > > > > I propose to apply my fix first to avoid this happening. > > > > 20240320165930.1182653-1-andriy.shevchenko@linux.intel.com > > > > > > I think you meant the v2[1]? > > > > Yes! > > > > > And sure, I will pick it up shortly. > > > > Thank you! > > > > > [1] https://lore.kernel.org/lkml/20240320165930.1182653-1-andriy.shev= chenko@linux.intel.com/T/ > > > > I can update this patch (rebase it on top) if needed to make less burde= n on > > the author's shoulders. Just tell me. > > Sure, if you can resend both yours and this one then even better. Just sent both as v4. --=20 With Best Regards, Andy Shevchenko