Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp398823rwn; Thu, 8 Sep 2022 03:26:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR4VWP1/NKelnpd6f7e3uFDw4UsiX0ctFrxC4sUkQUkEJm+i0D8ahS0zyAPqn5ERiCkw2XAO X-Received: by 2002:a05:6402:7c5:b0:44e:9319:4b26 with SMTP id u5-20020a05640207c500b0044e93194b26mr6567821edy.105.1662632799667; Thu, 08 Sep 2022 03:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662632799; cv=none; d=google.com; s=arc-20160816; b=omnuzBYmlraIEFkZLRIyDf7PudndkT6D40YPZ3hLMQorU9EvhB67XK7ePLht5k49nE EOdneqrznnkYBrvC/elQ4YLa/u/5vT+hW8ruM74LcgrRUvqLWCDiFydlL5fvmllSOdtm eI+TNOX+nPYS9VTZUvdoW3HDUORxfw/LKr/Uhe3rzs3xthS1QYihPwIxKphVAC2rHHuY 9pjLL9V5JWr9NxZM2HRxVc9rZNvDcgW7iMKqhaOaFn6yych4GdjudIRrniZL9GayFHGL OFIlQLWM9J9uMqoY8i+0N9G8P1aYhnEzM59M4n6dLs+i3mlD9Txd8kjS7epgKemfrBFA Wx0A== 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=j03cXCXWojyqw2GOJK3oqr8uthk3cPAA4v25qo8rCw8=; b=pQg8LCb8jtH7d+HJg5va1tH5QiE2oM/L6M7LHkK5Zp19MyNTEc4edTMCyAIAX1QUO9 dQ64HgsTBSIuKCcliNAbfxdO/Qk/U0XyMZJnLfqHsFHXzLTQbkshyPG21AEmo3A8LTvM 5qg0C49p6EjRdqYzbOfzJK97/XArt5Na6ml8+wFD/kNne7odAUoX5SmhRSu+QWwh5hKJ 5bpp3Ql9rYFieUPFgCcUcv+uOekh5wyvJpoIw++g1Fk+cbuhH74fr3Wy6FuHkfi1QaQu 1D4fa8MG0fDuVc/WljyOnkJIfUz4ScGja4Q//mysTsOhS4VUwc85vdNSsRTjkxmBVaWY 0gaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kzKMbkSq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a170906794f00b00777bca59aa1si441538ejo.377.2022.09.08.03.26.14; Thu, 08 Sep 2022 03:26:39 -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=pass header.i=@intel.com header.s=Intel header.b=kzKMbkSq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230317AbiIHKFJ (ORCPT + 99 others); Thu, 8 Sep 2022 06:05:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiIHKFH (ORCPT ); Thu, 8 Sep 2022 06:05:07 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC2F9E8B2; Thu, 8 Sep 2022 03:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662631506; x=1694167506; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6Ek9wygy8aZWzMgiPRlm9cfMhpuOEUegAjyWFacJCV0=; b=kzKMbkSq4YUCxWQ7saoC0bjymdOKShvwuVQf5aF2xJu8x20EUQWj9PpV +CquM/sdd15/u9QVTK0ggJshpo4+MLHoj5q/oLDcHiExpnxtjoPoyXKmf h05t3ITz41VmrX4ZwYfHa3K6xoW+23WCf1dlAyo9HM02oCuKUjRt0xp3a Z+IceWTvZiryPvkTJ2l3XpfGifoV4KEwVVm0VhxX3Un2G0FuIbLrCVz5a xoJ1utYV4NitvWoQt7uAUl7J/ShFDux+8P5fo6003NdV1JFa4wljpdl09 j+Wf82o4/FiXgrUzXSsl2lY44sBK3rpZ5pl/XjQkG2D+E9w+k5KA9mnAV Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="298465140" X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="298465140" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2022 03:05:06 -0700 X-IronPort-AV: E=Sophos;i="5.93,299,1654585200"; d="scan'208";a="790383420" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2022 03:04:59 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oWEP1-00A4Oy-2z; Thu, 08 Sep 2022 13:04:55 +0300 Date: Thu, 8 Sep 2022 13:04:55 +0300 From: Andy Shevchenko To: Hans de Goede Cc: "Rafael J. Wysocki" , Wolfram Sang , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, devel@acpica.org, "Rafael J. Wysocki" , Len Brown , Ard Biesheuvel , Elie Morisse , Nehal Shah , Shyam Sundar S K , Khalil Blaiech , Andy Gross , Bjorn Andersson , Konrad Dybcio , Will Deacon , Mark Rutland , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown , Robert Moore , Wolfram Sang Subject: Re: [PATCH v1 8/8] efi/dev-path-parser: Refactor _UID handling to use acpi_dev_uid_to_integer() Message-ID: References: <20220907164606.65742-1-andriy.shevchenko@linux.intel.com> <20220907164606.65742-9-andriy.shevchenko@linux.intel.com> <72acff59-81f0-f466-6197-d3e993f051ac@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <72acff59-81f0-f466-6197-d3e993f051ac@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Thu, Sep 08, 2022 at 11:29:22AM +0200, Hans de Goede wrote: > On 9/7/22 18:46, Andy Shevchenko wrote: ... > > + long ret; > > "long ret" should be "int ret" here since that is what acpi_dev_uid_to_integer() > returns. I put it long since the efi_get_device_by_path() uses long ret (for the sake of consistency with the existing code), but I have no objections to move it to int. -- With Best Regards, Andy Shevchenko