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

Josh Triplett
2014-05-10T19:36:40Z

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