[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120702101520.GC2558@amd.com>
Date: Mon, 2 Jul 2012 12:15:20 +0200
From: Joerg Roedel <joerg.roedel@....com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Paul Gortmaker <paul.gortmaker@...driver.com>,
Neil Horman <nhorman@...driver.com>,
Jakub Kicinski <kubakici@...pl>,
Alan Stern <stern@...land.harvard.edu>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: Re: [patch 1/2 -resend] dma-debug: debugfs_create_bool() takes a u32
pointer
On Wed, Jun 27, 2012 at 12:08:55PM +0300, Dan Carpenter wrote:
> Even though it has "bool" in the name, you have pass a u32 pointer to
> debugfs_create_bool(). Otherwise you get memory corruption in
> write_file_bool(). Fortunately in this case the corruption happens in
> an alignment hole between variables so it doesn't cause any problems.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied both, thanks Dan.
--
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