[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1427315945.10958.48.camel@x220>
Date: Wed, 25 Mar 2015 21:39:05 +0100
From: Paul Bolle <pebolle@...cali.nl>
To: Richard Weinberger <richard@....at>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
dwmw2@...radead.org, computersforpeace@...il.com
Subject: Re: [PATCH 1/3] mtd: nand: Add on-die ECC support
Probably not really the feedback you're hoping for at this moment, this
being an RFC, but I spotted two nits anyway.
On Wed, 2015-03-25 at 15:02 +0100, Richard Weinberger wrote:
> --- /dev/null
> +++ b/drivers/mtd/nand/nand_ondie.c
This file makes git am whine: "new blank line at EOF".
> +#include <linux/types.h>
> +#include <linux/kernel.h>
> +#include <linux/module.h>
Is this include needed? The code can only be built in. This files also
builds silently without that include. I used the rather hacky
make EXTRA_CFLAGS="-DCONFIG_MTD_NAND_ECC_ON_DIE" drivers/mtd/nand/nand_ondie.o
to test the build.
> +#include <linux/slab.h>
> +#include <linux/bitops.h>
> +#include <linux/mtd/mtd.h>
> +#include <linux/mtd/nand.h>
> +#include <linux/mtd/nand_ondie.h>
Paul Bolle
--
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