Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

From: Josh Triplett
Date: Sat May 10 2014 - 15:36:52 EST


On Sat, May 10, 2014 at 07:18:45PM +0200, Greg Kroah-Hartman wrote:
> On Fri, May 09, 2014 at 12:19:16PM -0700, Josh Triplett wrote:
> > @@ -827,6 +898,9 @@ static const struct memdev {
> > #ifdef CONFIG_PRINTK
> > [11] = { "kmsg", 0644, &kmsg_fops, NULL },
> > #endif
> > +#ifdef CONFIG_DEVPORT
> > + [12] = { "ioports", 0, &ioports_fops, NULL },
>
> Odd extra space?

Copy/paste from the "port" device, which apparently has that space to
make "[4]" and "11" line up at the ones digit. Will fix.

- Josh Triplett
--
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/