Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4604719rdh; Wed, 29 Nov 2023 06:11:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWnrdmpIydVZLgUDiJE5zfrdkRqaGFtYytRKxbGRPwuTUJLI5WhmpFdn1YORN0/S83W7LD X-Received: by 2002:a17:902:bf09:b0:1cf:fca9:80b3 with SMTP id bi9-20020a170902bf0900b001cffca980b3mr4548415plb.33.1701267089734; Wed, 29 Nov 2023 06:11:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701267089; cv=none; d=google.com; s=arc-20160816; b=qg76DfiPdMncMzaju/W4dhI9w/oPEqlSIvxzGiMw706oJM6PvANb2Ne/Lsm7+289Qh zKW+HNrLDrR+db/g40a+UkpyMlY6oT/EczI4oZHpSTvcqqhq+ld1oJU2TqFG82IleYMZ ucUeoDS3iKqbKX8cRQx4Wmczd7PLTpfwm/TUCozoYO4n4qItLo0kexPPXcECS+bB5GMi u2P4qQGUW/5WnsQhaq+RYaljs3qGQqBMFfmzN3zJ3g79zdI8/Tu4q7ubB5rYGfdfYXGP cc4z82Ljwjrwym0FgRmF2zg3PyrAGPwg0jJiUPGJVknzInqcQ36vdgYDlmiIkOR3bpVc bM8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=awYwlAuHPYRna4fg+M3uWkRPTs111AF3+witQrK/PB4=; fh=QWm058wx6WUBS9IO2eZRUdFl7VjNABqXV0pGnR7dtDI=; b=sC2raUkWtmKRnvvQ7lVNl3gneRgUagoSOggZLdhzP5e05agalqaM7k0FdbVPshiaEK opARFfT5iBxUpbuVlcTkANGbarzAFJuFvkJR8C0pGgFWb7rje9AsNk0GbLm/tlSOXqUy kXVNNey3Dn+PmTP6nIXuVbroOnRKqH0xf3uJ0jGqaiM/I395ah6s6tHeuE+3axv8jY42 f2+oKWXb9CAHiHmA+Vnwu02GXdvDsbDGadmBi4uGGg9GkTdWacpvL6bPqWYonc0r6VKV eXpx/Ezw8DRw5VJpOFhQAYX4R6POpU7EfBAXGDOA9YfcTddO1YmHhV3B+OwWTj/hICvW eHGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JmPAib3I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id be7-20020a170902aa0700b001cf6a664aa8si13594409plb.571.2023.11.29.06.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:11:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JmPAib3I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 411EA8068A16; Wed, 29 Nov 2023 06:11:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234200AbjK2OKj (ORCPT + 99 others); Wed, 29 Nov 2023 09:10:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbjK2OKi (ORCPT ); Wed, 29 Nov 2023 09:10:38 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A20FAF; Wed, 29 Nov 2023 06:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701267045; x=1732803045; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eQal9aMivxpFDhH6E/QqJF0j6TwRxcsMoHWT7iUi6lE=; b=JmPAib3IS4BO+8P9Q2Uy2ddreTeBR3rGJp+DAJzIvB2ufw1e0NDxhErv clN0f3gwMglpkCeBgz8+NdSU1xeCKCdvM+mSiBCZmQLHj0rUYk8WrV/fl wxnbLDwV7d+ue0DUIbRL9c2owG8gZL61X86M+jZ2OJ9B14Sm6gXFRGWR3 JX4YOReJrkqNWX38O+5+6fDBCiAzWXL8X1OEXIOUfb+L1ccWBVdgNZRSe /IQ3r2st6Lmxaaw7XcLkMLk1OVeCNTvobZN7XXSoEVs7jakdHviQTbhE3 bQ8zyq9M81hugbcIQ4T2nXLMS2/Eg9MZg2N6EV8Tzj5fYW/bjML8UPsQP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="479368531" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="479368531" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 06:10:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="762327083" X-IronPort-AV: E=Sophos;i="6.04,235,1695711600"; d="scan'208";a="762327083" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2023 06:10:39 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1r8LGu-00000000SPr-3ztj; Wed, 29 Nov 2023 16:10:36 +0200 Date: Wed, 29 Nov 2023 16:10:36 +0200 From: Andy Shevchenko To: "Rafael J. Wysocki" Cc: Linux ACPI , LKML , Zhang Rui , Srinivas Pandruvada , Michal Wilczynski , Hans de Goede , Mika Westerberg , Heikki Krogerus , Mario Limonciello Subject: Re: [PATCH v1 1/4] ACPI: OSL: Rework error handling in acpi_os_execute() Message-ID: References: <3281896.aeNJFYEL58@kreacher> <8321623.T7Z3S40VBb@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8321623.T7Z3S40VBb@kreacher> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 29 Nov 2023 06:11:05 -0800 (PST) On Wed, Nov 29, 2023 at 02:46:51PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Reduce the number of checks and goto labels related to error handling > in acpi_os_execute() and drop the status local variable, which turns > out to be redundant, from it. > > No intentional functional impact. LGTM, Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko