[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090908171132.GA28918@mag.az.mvista.com>
Date: Tue, 8 Sep 2009 10:11:32 -0700
From: "Mark A. Greer" <mgreer@...sta.com>
To: Mikael Pettersson <mikpe@...uu.se>
Cc: ben-linux@...ff.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, mgreer@...sta.com
Subject: Re: [PATCH 2.6.31-rc9] i2c-mv64xxx.c: correct mv64xxx_i2c_intr()
return type
On Mon, Sep 07, 2009 at 12:00:13PM +0200, Mikael Pettersson wrote:
> The mv64xxx_i2c_intr() irq handler in drivers/i2c/busses/i2c-mv64xxx.c
> is declared as returning 'int', resulting in this compile-time warning:
>
> drivers/i2c/busses/i2c-mv64xxx.c: In function 'mv64xxx_i2c_probe':
> drivers/i2c/busses/i2c-mv64xxx.c:540: warning: passing argument 2 of 'request_irq' from incompatible pointer type
>
> Fix: correct the return type to 'irqreturn_t'.
>
> Signed-off-by: Mikael Pettersson <mikpe@...uu.se>
Signed-off-by: Mark A. Greer <mgreer@...sta.com>
--
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