Re: [PATCH 08/16] dma-debug: add core checking functions

From: Ingo Molnar
Date: Sat Jan 10 2009 - 18:14:35 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> wrote:

> +static char *type2name[3] = { "single", "scather-gather", "coherent" };
> +
> +static char *dir2name[4] = { "DMA_BIDIRECTIONAL", "DMA_TO_DEVICE",
> + "DMA_FROM_DEVICE", "DMA_NONE" };

Should be const i guess.

Ingo
--
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/