Re: [PATCH] mtd: nand: omap: fix compile warning on âerased_sector_bitflipsâ
From: Brian Norris
Date: Wed Apr 16 2014 - 02:21:24 EST
On Tue, Apr 15, 2014 at 03:58:56AM +0000, Pekon Gupta wrote:
> >From: Jingoo Han [mailto:jg1.han@xxxxxxxxxxx]
> >>On Tuesday, April 15, 2014 7:32 AM, Christian Engelmayer wrote:
> >>
> >> Commit 2c9f2365 (mtd: nand: omap: ecc.calculate: merge omap3_calculate_ecc_bch4
> >> in omap_calculate_ecc_bch) introduced minor compile warning
> >> "âerased_sector_bitflipsâ defined but not used [-Wunused-function]" when
> >> compiling without CONFIG_MTD_NAND_OMAP_BCH. Move function
> >> erased_sector_bitflips() into the same ifdef section as the only caller.
> >>
> >> Signed-off-by: Christian Engelmayer <cengelma@xxxxxx>
> >
> >Reviewed-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> >
> Thanks for the patch..
> Acked-by: Pekon Gupta <pekon@xxxxxx>
Pushed to l2-mtd.git. Thanks!
Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/