From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports Date: Sat, 10 May 2014 12:36:40 -0700 Message-ID: <20140510193640.GC12079@thin> References: <20140509191914.GA7286@jtriplet-mobl1> <20140510171845.GA799@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140510171845.GA799-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Greg Kroah-Hartman Cc: Arnd Bergmann , akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org 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