Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757747Ab0LJBkM (ORCPT ); Thu, 9 Dec 2010 20:40:12 -0500 Received: from www.tglx.de ([62.245.132.106]:45072 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757558Ab0LJBkK (ORCPT ); Thu, 9 Dec 2010 20:40:10 -0500 Date: Fri, 10 Dec 2010 02:39:55 +0100 (CET) From: Thomas Gleixner To: Mark Brown cc: Peter Huewe , Ian Lartey , Dimitris Papastamos , Samuel Ortiz , LKML , Paul Mundt Subject: Re: [PATCH] mfd/wm831x-irq: Convert to new irq_chip functions and fix build failure In-Reply-To: <12ABA93B-6923-4AF7-BF34-E070BE72A8E2@opensource.wolfsonmicro.com> Message-ID: References: <1291937687-20243-1-git-send-email-peterhuewe@gmx.de> (sfid-20101209_233452_977189_2E13469D) <12ABA93B-6923-4AF7-BF34-E070BE72A8E2@opensource.wolfsonmicro.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1650 Lines: 47 On Fri, 10 Dec 2010, Mark Brown wrote: > On 9 Dec 2010, at 23:34, Peter Huewe wrote: > > > This patch fixes a build failure[1] by converting the driver to use the > > new irq_chip functions. > > The driver has already been converted; if this is required we should > just backport the relevant change (mfd: Convert WM831x to new irq_ > interrupt methods) in order to avoid merge issues with current code > rather than reimplementing. However, at this stage in 2.6.37 I don't > think that's a good idea. I think it is. # git grep GENERIC_HARDIRQS_NO_DEPRECATED arch/ arch/sh/Kconfig: select GENERIC_HARDIRQS_NO_DEPRECATED Though the question remains, whether this driver is actually used with sh platforms. If yes, then pushing the already existing change to Linus is the right way to go. If no, adding a "depends on !SH" is the simple fix to prevent this allmodconfig fallout. Another option is to ignore it :) I leave that up to Paul. > > The old functions are deprecated and masked by GENERIC_HARDIRQS_NO__DO_IRQ > > > Are you sure it's that option and not GENERIC_HARDIRQS_NO_DEPRECATED? Right that changelog sucks. :) > > Cc: Stable > > Why are you CCing to stable? This API was only introduced in 2.6.37 which is still > in -rc and attempting to backport to stable releases would cause those releases to > fail to build. Right, thats useless. Thanks, tglx -- 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/