Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3347580pxv; Mon, 12 Jul 2021 15:26:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLlo1Xidop3rJ3PPyWeAw0gGPT4a3nXN8PRbcgC4f2jluyyaxdrUsD/9ppgC5PTtXUOV2a X-Received: by 2002:a6b:db18:: with SMTP id t24mr837815ioc.163.1626128761439; Mon, 12 Jul 2021 15:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626128761; cv=none; d=google.com; s=arc-20160816; b=Yn7s+7skl/F5kJvCE2V5pbMizLlqD8T5/57gbUxokGm7KQOP6LAKJoS5JHGbR1F0xE 9369IubsbijyZ06nblEyGIJQDHJtE6CYQ3bKD3Rwn12rtQCadPbjwwhCdB/AEDtZhBzJ hF4q0iv81txAmROEpHLOUxmaMJIOICvoOrYUTluqP+XhjGrDtIYvfP8kk+jue4g9/L/x ubaBSr1M8HVlxbea4CwGomkn8rfQawj7sUzU3cbvYcC+YrQfoOGLGWkB9g52VO0nCX7O 6P4mzkoiLqTFXZYF62SmjoP77nc8nJvRYzn7Dw4WPdGOoTZiaTdRRnNjCSpKzA3n/Exf dJmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=drKUA4nwMjP/GDMz9npESW8OtIE/cQEPCzkNW7Et1q8=; b=VFBBz3gchp741Z68aRe7UQlb58KpZn2yEafQwLQurDJ0uIace/Wk8LMAoYrvanvz1X yRN5s7EZe3Nw5LpU3G2QjqqiUIrNoNioDYeZD+B0wom3jXP6CLGv152VETC1drad1MWI m2UYA9dNC14Flu69dhmg1aIsquisw89eXm5q8YKD4QZSabBZDHAab+O6bDZTtteLbZld +dNNIdEBOQnYqoqKdQ/1y+JZjlc06ClIgRNf/SXPoYX7+zsLFcUKl/89Dj5bJ9xx7MfW NAC6vMonVztH4p3XyFTinuzEW7nY7ifV3TlQm3pLyFW310DIAYiuD706aSUBDsdHN67p WSbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Z2GYGFNY; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si22563260jaj.52.2021.07.12.15.25.47; Mon, 12 Jul 2021 15:26:01 -0700 (PDT) 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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Z2GYGFNY; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbhGLW1d (ORCPT + 99 others); Mon, 12 Jul 2021 18:27:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:31189 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhGLW1c (ORCPT ); Mon, 12 Jul 2021 18:27:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626128683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=drKUA4nwMjP/GDMz9npESW8OtIE/cQEPCzkNW7Et1q8=; b=Z2GYGFNY9S+vXnQ08g0268zMHu1FrExJb6lGdwvWlXGjLOteVUG2b6+Hj59joOQzvCRK9p vgcyajGJJvubZw4EIWXnGn+YeVpkQ7QpIr34qE0tSYeoGVPmDx2E1WlUWUVALj7iW8pE5k AbcwIXjwzaiMaj/Ihoc/9gDciroQDs8= Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-vjtWOZCdPA2C-twgTdM9uQ-1; Mon, 12 Jul 2021 18:24:42 -0400 X-MC-Unique: vjtWOZCdPA2C-twgTdM9uQ-1 Received: by mail-ot1-f71.google.com with SMTP id e14-20020a0568301f2eb0290405cba3beedso14137616oth.13 for ; Mon, 12 Jul 2021 15:24:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=drKUA4nwMjP/GDMz9npESW8OtIE/cQEPCzkNW7Et1q8=; b=giwmyNc5XNIdf9QssAi/aBLvCOE4tm/jMMmPhl2CV8bZn7CDk5G2ac15kG93+j4CzM KjS3jCGpmJ3L1TQ9sM7nTegtA0SsHpwUTNm6v6mGMjsD68Las91GrHJMo+vMyJ/XdRDV u46Y0A1B7Fy1YXnvffy3ObewONu27GeGdhECucJv5g2QXf5mvVS3kSSoSWYViofwq/VF crhwzkcBfmGb+/9wDyzx9evfKP6Knn95YwDd03FMbYaRCABK2VuvCpYKWRI+HBvR2hh9 BM6P4ZgE3xZ/cj/svWM8L9BZ55hq4OkS4/DkvGAu77szZpxmvbRJ3U0ftKrUbfwsn/c5 ns8g== X-Gm-Message-State: AOAM531WkGqCbFPFjkP/z2aUb36EQsJXr0y/nkMwiHg3nK0c5w+XHyuo oBaPCs/dv6z76EIhhxsSR3H9O4RKtoGMpfM5GYp5JHYLFO71o/vmAtNSnKe+K/T7PAKv0zEA6yF tDVA6kzlxnav8RoFSpGfPkQQv X-Received: by 2002:aca:fc12:: with SMTP id a18mr730214oii.85.1626128682052; Mon, 12 Jul 2021 15:24:42 -0700 (PDT) X-Received: by 2002:aca:fc12:: with SMTP id a18mr730203oii.85.1626128681869; Mon, 12 Jul 2021 15:24:41 -0700 (PDT) Received: from redhat.com ([198.99.80.109]) by smtp.gmail.com with ESMTPSA id o63sm3492320oih.32.2021.07.12.15.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 15:24:41 -0700 (PDT) Date: Mon, 12 Jul 2021 16:24:40 -0600 From: Alex Williamson To: Amey Narkhede Cc: Bjorn Helgaas , Raphael Norwitz , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kw@linux.com, Shanker Donthineni , Sinan Kaya , Len Brown , "Rafael J . Wysocki" Subject: Re: [PATCH v10 8/8] PCI: Change the type of probe argument in reset functions Message-ID: <20210712162440.6338346a.alex.williamson@redhat.com> In-Reply-To: <20210709123813.8700-9-ameynarkhede03@gmail.com> References: <20210709123813.8700-1-ameynarkhede03@gmail.com> <20210709123813.8700-9-ameynarkhede03@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Jul 2021 18:08:13 +0530 Amey Narkhede wrote: > Introduce a new enum pci_reset_mode_t to make the context of probe argume= nt > in reset functions clear and the code easier to read. Change the type of > probe argument in functions which implement reset methods from int to > pci_reset_mode_t to make the intent clear. >=20 > Add a new line in return statement of pci_reset_bus_function(). >=20 > Suggested-by: Alex Williamson > Suggested-by: Krzysztof Wilczy=C5=84ski > Signed-off-by: Amey Narkhede > --- > drivers/crypto/cavium/nitrox/nitrox_main.c | 2 +- > .../ethernet/cavium/liquidio/lio_vf_main.c | 2 +- > drivers/pci/hotplug/pciehp.h | 2 +- > drivers/pci/hotplug/pciehp_hpc.c | 4 +- > drivers/pci/hotplug/pnv_php.c | 4 +- > drivers/pci/pci-acpi.c | 10 ++- > drivers/pci/pci-sysfs.c | 6 +- > drivers/pci/pci.c | 85 ++++++++++++------- > drivers/pci/pci.h | 12 +-- > drivers/pci/pcie/aer.c | 2 +- > drivers/pci/quirks.c | 37 ++++---- > include/linux/pci.h | 8 +- > include/linux/pci_hotplug.h | 2 +- > 13 files changed, 107 insertions(+), 69 deletions(-) Reviewed-by: Alex Williamson