Re: [PATCH 06/20] mem_class: use minor as index instead of searching the array

Daniel Walker
2009-09-15T19:41:55Z

On Tue, 2009-09-15 at 12:12 -0700, Greg Kroah-Hartman wrote:
> +static const struct memdev {
> + const char *name;
> + const struct file_operations *fops;
> + struct backing_dev_info *dev_info;
> +} devlist[] = {
> + [ 1] = { "mem", &mem_fops, &directly_mappable_cdev_bdi },

This patch has several checkpatch errors wrt. the spacing used in the
array index..

Kay, can you send a follow up patch to correct them?

Daniel