[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130206181752.GD3418@sortiz-mobl>
Date: Wed, 6 Feb 2013 19:17:52 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Emil Goode <emilgoode@...il.com>
Cc: ptyser@...-inc.com, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] mfd: lpc_ich: Fix arguments to kmalloc
HI Emil,
On Wed, Feb 06, 2013 at 07:00:59PM +0100, Emil Goode wrote:
> This patch changes the order of the arguments to kmalloc,
> the allocation flag should be the second argument.
>
> Sparse warnings:
>
> drivers/mfd/lpc_ich.c:881:24: warning:
> incorrect type in argument 1 (different base types)
> drivers/mfd/lpc_ich.c:881:24:
> expected unsigned long [unsigned] [usertype] size
> drivers/mfd/lpc_ich.c:881:24: got restricted gfp_t
>
> drivers/mfd/lpc_ich.c:881:36: warning:
> incorrect type in argument 2 (different base types)
> drivers/mfd/lpc_ich.c:881:36:
> expected restricted gfp_t [usertype] flags
> drivers/mfd/lpc_ich.c:881:36: got unsigned long
>
> Signed-off-by: Emil Goode <emilgoode@...il.com>
> ---
> drivers/mfd/lpc_ich.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This patch does not apply to my for-next branch.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.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