[PATCH] staging: rtl8187se: Remove pt_regs * irq handler parameter

navin patidar navinp at cdac.in
Fri Aug 23 12:19:08 UTC 2013


On August 23, 2013 at 5:18 PM Dan Carpenter <dan.carpenter at oracle.com> wrote:
> On Fri, Aug 23, 2013 at 05:00:06PM +0530, navin patidar wrote:
> > struct pt_regs pointer is no longer passed as a irq handler
> > argument.
> >
>
> Good eye.
>
> Could you also remove the cast to (void *) so the compiler can catch
> this in the future?
>
> - if (request_irq(dev->irq, (void *)rtl8180_interrupt, IRQF_SHARED, dev->name, dev)) {
> + if (request_irq(dev->irq, rtl8180_interrupt, IRQF_SHARED, dev->name, dev)) {
>

i will resend patch with this.

regards,
--navin-patidar


More information about the devel mailing list