Re: [PATCH] [MTD] Fix CFI build error with meaninglessnonfunctional .config
From: David Woodhouse
Date: Sun Aug 12 2007 - 20:00:50 EST
On Sun, 2007-08-12 at 18:24 +0200, Ingo Molnar wrote:
> just found another one via randconfig, it fails with:
>
> In file included from drivers/mtd/chips/map_rom.c:16:
> include/linux/mtd/map.h:128:2: error: #error "No bus width supported. What's the point?"
>
> config attached below. Because it's so nice to be able to keep a
> randconfig build-test running overnight, i think this needs to be
> fixed too. (even if with just a runtime BUG())
On Fri, 2007-08-10 at 11:50 +0800, David Woodhouse wrote:
> -#error "No bus width supported. What's the point?"
> +#warning "No CONFIG_MTD_MAP_BANK_WIDTH_xx selected. No NOR chip support can work"
> +static inline int map_bankwidth(void *map)
> +{
> + BUG();
>
--
dwmw2
-
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/