Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp966071pxb; Fri, 28 Jan 2022 14:25:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0A1Ak0DBaltx/dzA7gvB/LVRCFdOqFvw61gg6wK+3RkxI9WYdiUntfHYCS7wimG/FncmZ X-Received: by 2002:aa7:8f07:: with SMTP id x7mr9816204pfr.80.1643408713550; Fri, 28 Jan 2022 14:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643408713; cv=none; d=google.com; s=arc-20160816; b=pSBTFU7LUhiJA+oLs7SIM3S2cEN1IQwUU2jjWAfR9KTdWtVfq1qHorz6YUoKzFtNTD Qmwq9wt7Fr1KlvkovHOUd3zt0dWD7CCg3qRlyDWb2V5NtLaL25Or/4CKU6DVcnN3dJMl iENHAi3jFi4jv+S20FYhnmZyNo5d5HUqFHplL8LnJ4E5Qaxp2XAfMjzw5fn+eO8HDOLM CKZthgcmhxYn4UiTuIiRPNan4zdJRB8MvhBBERba6OBay793MQ27zW6JDxp2mgJGZ/qw QKF1qtL0zewqzpGceaLw73LUSwlsp2mWFi/IZOCrDNeUGcLRdTj3zL5Pp/J/SEZynjw3 pG9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature :wdcironportexception:ironport-sdr:ironport-sdr:dkim-signature; bh=8eqdpK2RBCIwBojTEj9Yjk5GBuD44IpUeC7wwzwGzck=; b=st2b+jWLIUk5jW2wPu0wbyQ5QjTb7dK6acf95kyL+0n5IrryDHDofICN8NRiuoXEhD agv9Sc9HBCmGnt4wPOXjzmKstBD7+RCcSd1YEoRmDXEQdNzKyticwlIF7DJNWDaeVEy0 OSI+HlXXmid26/+Wdf2+6zHOLRVhCrST00RiiOpZU0xxEEETbgwN9jDKiZlBMG+Zqyw2 llqxAzAGPY21Jb4u+9mG0Um27uXm4py68mzNbpz58M/JkGIuZDFM2RhiFOsohEKsEehO I+O22MqPYzrUXUh/loDS4xGWCIa7TSM04UwgOjqksZ+6iH99cgTdCisgPej/hyuZAP1e 0yGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=iGABwD9R; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=lPB+JmN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=opensource.wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si3553730pjw.86.2022.01.28.14.25.02; Fri, 28 Jan 2022 14:25:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=iGABwD9R; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=lPB+JmN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=opensource.wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238473AbiA0XfX (ORCPT + 99 others); Thu, 27 Jan 2022 18:35:23 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:19292 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiA0XfV (ORCPT ); Thu, 27 Jan 2022 18:35:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1643326487; x=1674862487; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=lIn9F6tbU5dCL18U1bWkAMrNx14lJRwzgnQRoH+z5lM=; b=iGABwD9RwPgKgLUA67dK67x+UtGrOyL3IOb6JzxJ1rmozS2jeoVadnW5 hal+N+b5eMlXo8LXYq05MWN3RaRuXwBtIJfTVTe+0cUUVJeX7Wpzto5Jc ZRlq/iM9OSz9ATZ5rQlUgAKdYmzfFvKjyqUyReTGmu1YC0sgVKL+mIzA/ gVjEy7C/U5IWr5zCGGXoP5vSMJk9MUzAVEoTNx2C33S9sJftu14kNpZ5P ZIzz9tx9TBDJVpkkKXgIwEwYVdxG86Aqcxvh+69fBVFDcs/5kkyhm0ga5 Jr0ivHv22rYltO3JDnShjfTudRR1nqsDz0WeTxa6KdTz+B+imJmHKV8lD Q==; X-IronPort-AV: E=Sophos;i="5.88,321,1635177600"; d="scan'208";a="196377337" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 28 Jan 2022 07:34:47 +0800 IronPort-SDR: eO43qR/Hmfwho97Vb0tZt+A/959xlf+HV9U77lK4bpV0CWUNr8JFucoOOc3ZJl/9YaPd27ue51 ASdiRy3SH35S6eB7evCeknd4hhmCPhCVMAf31JafKxC0iewW33Y8pUFQbOXXZ2inzrdaAXacaF zIrqOArT8gMbzwvdxXMU0qO2zdLknPkzwq7nHa7Xl2Z587cumh72tvyiTDoi+gd7bEdHksJUQo iXCOz7kcB15jUa443UIObk3tDt0hnfAwtU2LqsUqraYvivAz4ClwnMd3gZTsE8o7xPXS0tI2lf 2aWXjjj1dJ3pCg5xUU73+S9e Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 15:08:39 -0800 IronPort-SDR: ilwA5vm9MopicazocIJIXD2AGQsir8dgBjxCXelH00nf7DOzE8o+fj+v38u0jBK6xczIgu1UPx ulE7ZlZ00d2cwB0bp7uhn1IM8fWBzsHKe1u93JtUMyc9kcnILje8u6rCIJQMvcbIk9fZAXWohJ JKKp7HTccAmtxa5kGT1WPJJKpJ3N2YsAhveiLqNx5hXi9oHegFnT2DB2gBuEjkJlXruPr7On50 sgdnIpmvr/8KolsylCnb5SghdJt4sY5nJ+m+yR73YkbR4Z/FEa10rUARn2JLt8Jr/jN+eONoVx YyM= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 15:35:22 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4JlH550NsZz1Rwrw for ; Thu, 27 Jan 2022 15:35:21 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1643326520; x=1645918521; bh=lIn9F6tbU5dCL18U1bWkAMrNx14lJRwzgnQ RoH+z5lM=; b=lPB+JmN9H2LqGIWiz6dWXQTL8sxMYqXJBysXCdxv63nlGPdk0tE Dbt2enVTwCnTltabzktzOlxRQbF4llCXvfctzgCtyWFuGF8H+C+w5fquGK8Q6+ti ONaNOCdjYO+NZqZjjOVhcDtmf21HjQWYJXYpI1ko7OmSFpTwQTmqTDCHdHLdOcoB VSlf5w9u61wY5c/OWsg92kUqGy6LOsNfl/64lzVt/qS+bEaHbp90lIy6LFj0YjTS K5D3/UElJkm4YAsgZgqTLlreahxcQczwe756V2NbzvpCQO8INpYYi1tel/VUDOWT OA8owGFPIU1qT6LowbHX3DVHMWhx4NAeQlQ== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2gfW2acTbbw2 for ; Thu, 27 Jan 2022 15:35:20 -0800 (PST) Received: from [10.225.163.58] (unknown [10.225.163.58]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4JlH532nmqz1RvlN; Thu, 27 Jan 2022 15:35:19 -0800 (PST) Message-ID: <1f29cbb4-9887-d2e9-20a3-af1ae9c3c599@opensource.wdc.com> Date: Fri, 28 Jan 2022 08:35:17 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] ata: pata_platform: Make use of platform_get_mem_or_io() Content-Language: en-US To: Lad Prabhakar , linux-ide@vger.kernel.org Cc: Sergey Shtylyov , linux-kernel@vger.kernel.org, Prabhakar References: <20220117020134.3279-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20220117020134.3279-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/17/22 11:01, Lad Prabhakar wrote: > Make use of platform_get_mem_or_io() to simplify the code. > > While at it, drop use of unlikely() from pata_platform_probe() > as it isn't a hotpath. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Sergey Shtylyov > --- > Hi All, > > This patch is part of series [1]. Just sending this lone patch > for now. > > [1] http://patchwork.ozlabs.org/project/linux-ide/list/?series=278349 > > Cheers, > Prabhakar Applied to for-5.18. Thanks ! -- Damien Le Moal Western Digital Research