[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <480C4DF1.2030204@garzik.org>
Date: Mon, 21 Apr 2008 04:18:57 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Russell King <rmk+lkml@....linux.org.uk>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, kernel@...tstofly.org,
linux-arm-kernel@...ts.arm.linux.org.uk, galak@...nel.crashing.org,
David Miller <davem@...emloft.net>, kkeil@...e.de,
isdn4linux@...tserv.isdn4linux.de, cooloney@...nel.org,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [git patches] minor irq handler cleanups
Russell King wrote:
> On Sun, Apr 20, 2008 at 09:35:51PM -0400, Jeff Garzik wrote:
>> diff --git a/arch/arm/mach-integrator/time.c b/arch/arm/mach-integrator/time.c
>> index 5278f58..5235f64 100644
>> --- a/arch/arm/mach-integrator/time.c
>> +++ b/arch/arm/mach-integrator/time.c
>> @@ -125,7 +125,7 @@ static int rtc_probe(struct amba_device *dev, void *id)
>> xtime.tv_sec = __raw_readl(rtc_base + RTC_DR);
>>
>> ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED,
>> - "rtc-pl030", dev);
>> + "rtc-pl030", NULL);
>> if (ret)
>> goto map_out;
>>
>
> BTW, if you're removing the dev_id argument from request_irq(), that
> also needs to happen for the corresponding free_irq() calls.
> arch/arm/mach-integrator/time.c does:
>
> free_irq(dev->irq[0], dev);
>
> and these are untouched.
hrm, good point. I re-reviewed specifically for this issue, just now,
and it looks like there is another case of this as well, outside ARM.
If this hasn't been pulled, I'll redo the commit, otherwise I'll fix.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists