From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932088Ab1C3QqN (ORCPT ); Wed, 30 Mar 2011 12:46:13 -0400 Received: from www.linutronix.de ([62.245.132.108]:51982 "EHLO linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754287Ab1C3QqM (ORCPT ); Wed, 30 Mar 2011 12:46:12 -0400 Date: Wed, 30 Mar 2011 18:46:09 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds cc: Benjamin Herrenschmidt , Andrew Morton , LKML Subject: Re: [GIT pull] irq fixes for .39.rc In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) 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 Wed, 30 Mar 2011, Thomas Gleixner wrote: > On Wed, 30 Mar 2011, Linus Torvalds wrote: > > > > which just makes me go "Somebody is really really confused". > > > > The whole thing may mean that both handler_data and chip_data contains > > the right thing, but it still makes me go "WTF?". > > > > Which way should I resolve it? > > get_irq_desc_data() maps to irq_desc_get_handler_data() so Richards > resolution is correct even if the other might work as well. Older code which was not using any accessors has: desc->handler_data But yeah, the init stuff is confusing as hell. Thanks, tglx