Re: linux-next: build warning after merge of the suspend tree

From: mark gross
Date: Mon May 23 2011 - 10:18:56 EST

On Mon, May 23, 2011 at 03:06:36PM +1000, Stephen Rothwell wrote:
> Hi Rafael,
> After merging the suspend tree, today's linux-next build (i386 defconfig
> among others) produced this warning:
> kernel/pm_qos_params.c: In function 'pm_qos_power_write':
> kernel/pm_qos_params.c:420: warning: passing argument 3 of 'kstrtol' from incompatible pointer type
> include/linux/kernel.h:210: note: expected 'long int *' but argument is of type 's32 *'
> Intreoduced by commit 365daa955e03 ("PM: Correct PM QOS's user mode
> interface to work with ascii input per").

Gah! I'm sorry about that.

attached is a fix.


signed-off-by:markgross <markgross@xxxxxxxxxxx>