Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp401662lqg; Thu, 11 Apr 2024 06:37:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXw9BHMjs/iGagGsbDKmeWm9li8t1vcYnXv7koL6AqvU6+bZyzwHT5wwByum5DTQlH9A63sWDD08xYsNw4kv7zRnnK5jCz6ZPtLCJkxuw== X-Google-Smtp-Source: AGHT+IGs5LKlFOqIMyypXFoQGERX0Wd+9EqVO9A13HOQ+LbL2K2ob9livYHqvE0zus9bax0Y/XDK X-Received: by 2002:a50:cc8f:0:b0:56c:2ef7:f3e6 with SMTP id q15-20020a50cc8f000000b0056c2ef7f3e6mr3834036edi.0.1712842669545; Thu, 11 Apr 2024 06:37:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712842669; cv=pass; d=google.com; s=arc-20160816; b=xABUkmth4zaiw5quFa/YzNO6JscKHj3qRTujU3NfdkbqcaubqOXmAil6FMitm2NwoC Dl8LAqD4ivJXtz52Mm7iu7hq3kO7RDCV76C7DSQn1xG7NeNbHRghxx1XiqIMmw0wsfso 33nMwimO+19k7e0csqN/2s3y9UOZ2XUWAQUH39bb9W2IxtfjthdYbLGlzv9MyxiURp1N bbhyUbTI5XB6nVP5a5FWlo69iPCJjBSyxo/d2AT1tC5U8IXNFc9TdagSC7eotMyl8biy soaVkUlssmzC2f4FmXaY+kqjlmYwHSK+N+0ifJT72eeudoPluMNyinY7eNSPzMB+A/xw nZLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=Pc62qlxmUIgkSmx9aOtyLEU4ZLFrQTa37jryqYD++j0=; fh=n992j3iA7OqPMmsROK32t/NAeM2c8yDFQXQEs0P0qw0=; b=RFoG7xRh5dFQBSBLD0VW5Kssf1CG2VRl/gq0FyB0dC9ldOlbzw7TfAbbeFCA60Kr9J JNAAcCMEVApVrgtqeKZJ7LUpQ5S6wSQyBkEuCzf2GTmL6zQQiEaanvSq0Q/fe0h07W2x Rr6o0+968v2CXuoHb1uTJlCUK7gIcJ8s3dEwyxs3p0n1xXe0/3uIURYfnwuZ4pwF50Sm 9Qln1wWldAfu76WH8msChziw5mTjsQDWJPJavNAr9iQw1BtKhzfGGscBgiD6oJfQuvVt 1PXKxjJRE0tTR3Q4q0SL81CX+qIp/0Shox7pGvKlZbjCzO0+gAYPzfKckWQpx42zg9oP bxEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y3uZr7pJ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-140522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g4-20020a50d5c4000000b0056bf27dec57si759265edj.105.2024.04.11.06.37.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 06:37:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y3uZr7pJ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-140522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 3B8821F236C0 for ; Thu, 11 Apr 2024 13:37:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39C7F14D70C; Thu, 11 Apr 2024 13:37:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Y3uZr7pJ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2772014D45D; Thu, 11 Apr 2024 13:37:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712842649; cv=none; b=L7BkR8yjcCfHuR08bX3CSjWOjkzeN3cxMzh9ZwUYUsdulzUM7hNpIsq80omXja5FmvbVw244DM5AaHDo0rZtL/+vrbkaYhssL9dsgAIol1fkx3l552G57UoyP8VU9ELljTrv2h378NbKER3F5+fg+tF4+Ud4RoyxU7eQp57KpwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712842649; c=relaxed/simple; bh=ZfH/I4d1hrRMe9hj7w2rGrT0Kd9Zdc2d48cUGU8d2hE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NnXWvZng0/Akq33UV5/NZuH6ZdEfv9L1gRoEsyd7QJaz+PQ+oPuxTzRMjT3a33+sifp0EKN8bpHO+EHpAfSTsxLOS4mjdvZEj/sOrIQeRJwNUuUQtoXh3bKmKy+DrirWHzgeLmQz45mJKwjoEsRGsExT6osymQFLKEjwSeY7YEw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Y3uZr7pJ; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712842648; x=1744378648; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZfH/I4d1hrRMe9hj7w2rGrT0Kd9Zdc2d48cUGU8d2hE=; b=Y3uZr7pJGG2BrHZ/STELSfftynmmvfpW1FFWpwbc4i3Qwk37IWW/fSFy GbYcHsrf/1mRzE6tndFgsihzXmKugzMzSTofB10vmDvPNNLxv4n8nXVWe W0JI1+wqqHtnOYA5e3FTfSJJY95CI6cJyfTMsOt+DW2tDqsU/LqnIcv0D iaP1ZhSKHkhRQnbrVn9hFSzot8h9kKZRVzQgRXB8+RyLkX8EwmsOwfxQj nexPzEWgJBzogu1B7qvINKqwxqZfYGXe5mQkpljjbbIJMPr/ngJS93DvZ lXdEo+/lZs7iUIGuVJjj5/fsyObq2UuI4jv0kYnmwKTD7z03zky7csdxJ A==; X-CSE-ConnectionGUID: tljXGeGBSJys7WZAOTAA4g== X-CSE-MsgGUID: HB4JgGZxSvSTJ+/CZ/456A== X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="25705540" X-IronPort-AV: E=Sophos;i="6.07,193,1708416000"; d="scan'208";a="25705540" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2024 06:37:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11041"; a="915463714" X-IronPort-AV: E=Sophos;i="6.07,193,1708416000"; d="scan'208";a="915463714" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2024 06:37:24 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1ruucE-00000003MYt-1MVd; Thu, 11 Apr 2024 16:37:22 +0300 Date: Thu, 11 Apr 2024 16:37:21 +0300 From: Andy Shevchenko To: Mika Westerberg Cc: linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Linus Walleij , Bartosz Golaszewski , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt Subject: Re: [PATCH v1 0/2] gpiolib: acpi: A couple of error checks amendmends Message-ID: References: <20240410202243.1658129-1-andriy.shevchenko@linux.intel.com> <20240411132806.GB112498@black.fi.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240411132806.GB112498@black.fi.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Apr 11, 2024 at 04:28:06PM +0300, Mika Westerberg wrote: > On Wed, Apr 10, 2024 at 11:21:45PM +0300, Andy Shevchenko wrote: > > One error check is moved and one is dropped. > > No functional changes intended. > > > > Andy Shevchenko (2): > > gpiolib: acpi: Remove never true check in acpi_get_gpiod_by_index() > > gpiolib: acpi: Check for errors first in acpi_find_gpio() > > Both, > > Acked-by: Mika Westerberg Pushed to my review and testing queue, thanks! -- With Best Regards, Andy Shevchenko