Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbbFHLhY (ORCPT ); Mon, 8 Jun 2015 07:37:24 -0400 Received: from mga03.intel.com ([134.134.136.65]:31514 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbbFHLhQ (ORCPT ); Mon, 8 Jun 2015 07:37:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,573,1427785200"; d="scan'208";a="742932274" Message-ID: <55757E65.5030401@linux.intel.com> Date: Mon, 08 Jun 2015 19:37:09 +0800 From: Jiang Liu Organization: Intel User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Vinod Koul CC: Thomas Gleixner , Bjorn Helgaas , Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , Randy Dunlap , Yinghai Lu , Borislav Petkov , Dan Williams , Philipp Zabel , Steve Longerbeam , Konrad Rzeszutek Wilk , Tony Luck , x86@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [RFT v2 11/48] ipu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc References: <1433391238-19471-1-git-send-email-jiang.liu@linux.intel.com> <1433391238-19471-12-git-send-email-jiang.liu@linux.intel.com> <20150608111658.GL28601@localhost> In-Reply-To: <20150608111658.GL28601@localhost> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 23 On 2015/6/8 19:16, Vinod Koul wrote: > On Thu, Jun 04, 2015 at 12:13:21PM +0800, Jiang Liu wrote: >> Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we >> already have a pointer to corresponding irq_desc. >> >> Do the same thing to avoid pattern "irq_get_chip_data(data->irq)". > > And I am missing the context, it is a bad practice to send some part of the > series without giving context. Is this dependent on something else...? This patch set touches too many files, so I didn't send the cover letter to all maintainers. The whole patch set is to simplify core irq interfaces by killing the 'irq' parameter. Please refer to lkml.org/lkml/2015/6/4/113 And it may depends on preceding patches in tip/x86/apic branch, so it would be safer to handle the patch set altogether. Thanks! Gerry -- 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/