From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753856Ab3EFNZo (ORCPT ); Mon, 6 May 2013 09:25:44 -0400 Received: from www.linutronix.de ([62.245.132.108]:51962 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753121Ab3EFNZn (ORCPT ); Mon, 6 May 2013 09:25:43 -0400 Date: Mon, 6 May 2013 15:25:18 +0200 (CEST) From: Thomas Gleixner To: Sebastian Hesselbarth cc: Russell King - ARM Linux , Grant Likely , Rob Herring , Rob Landley , Arnd Bergmann , Jason Cooper , Andrew Lunn , Jason Gunthorpe , Thomas Petazzoni , Gregory Clement , Ezequiel Garcia , Maxime Ripard , Jean-Francois Moine , Gerlando Falauto , Uwe Kleine-Koenig , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC patch 7/8] fixup 1/2: genirq: generic chip: Add linear irq domain support In-Reply-To: <1367843533-7117-1-git-send-email-sebastian.hesselbarth@gmail.com> Message-ID: References: <20130503214629.810207749@linutronix.de> <1367843533-7117-1-git-send-email-sebastian.hesselbarth@gmail.com> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 May 2013, Sebastian Hesselbarth wrote: > irq_domain_chip_generic is allocating and indexing irq_chip_generic > itself. However, the size of irq_chip_generic varies with number of > irq_chip_types. This fixup moves irq_chip_generic helt by > irq_domain_chip_generic to array of ptr and fixes the pointer arith > used by irq_alloc_domain_generic_chip. Thanks. I folded it in. From mboxrd@z Thu Jan 1 00:00:00 1970 From: tglx@linutronix.de (Thomas Gleixner) Date: Mon, 6 May 2013 15:25:18 +0200 (CEST) Subject: [RFC patch 7/8] fixup 1/2: genirq: generic chip: Add linear irq domain support In-Reply-To: <1367843533-7117-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <20130503214629.810207749@linutronix.de> <1367843533-7117-1-git-send-email-sebastian.hesselbarth@gmail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, 6 May 2013, Sebastian Hesselbarth wrote: > irq_domain_chip_generic is allocating and indexing irq_chip_generic > itself. However, the size of irq_chip_generic varies with number of > irq_chip_types. This fixup moves irq_chip_generic helt by > irq_domain_chip_generic to array of ptr and fixes the pointer arith > used by irq_alloc_domain_generic_chip. Thanks. I folded it in.