Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756459AbbFRS2U (ORCPT ); Thu, 18 Jun 2015 14:28:20 -0400 Received: from mail-ie0-f172.google.com ([209.85.223.172]:35258 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbbFRS2E (ORCPT ); Thu, 18 Jun 2015 14:28:04 -0400 MIME-Version: 1.0 In-Reply-To: <20150618161258.32739.29646.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20150618161207.32739.62577.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20150618161258.32739.29646.stgit@bhelgaas-glaptop2.roam.corp.google.com> Date: Thu, 18 Jun 2015 11:28:03 -0700 X-Google-Sender-Auth: 02O8EDwBlSel9u81zyZaSPrRHWE Message-ID: Subject: Re: [PATCH 4/4] PCI: pciehp: Inline the "handle event" functions into the ISR From: Yinghai Lu To: Bjorn Helgaas Cc: "linux-pci@vger.kernel.org" , Rajat Jain , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 694 Lines: 16 On Thu, Jun 18, 2015 at 9:12 AM, Bjorn Helgaas wrote: > The pciehp_handle_*() functions (pciehp_handle_attention_button(), etc.) > only contain a line or two of useful code, so it's clumsy to put > them in separate functions. All they so is add an event to a work queue, > and it's clearer to see that directly in the ISR. Yes. That make the code more readable. For all 4 patches: Acked-by: Yinghai Lu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/