Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758376AbZIOTlz (ORCPT ); Tue, 15 Sep 2009 15:41:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758000AbZIOTlu (ORCPT ); Tue, 15 Sep 2009 15:41:50 -0400 Received: from fifo99.com ([67.223.236.141]:45077 "EHLO fifo99.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755274AbZIOTlt (ORCPT ); Tue, 15 Sep 2009 15:41:49 -0400 Subject: Re: [PATCH 06/20] mem_class: use minor as index instead of searching the array From: Daniel Walker To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Kay Sievers In-Reply-To: <1253041976-1111-6-git-send-email-gregkh@suse.de> References: <20090915181247.GA32167@kroah.com> <1253041976-1111-6-git-send-email-gregkh@suse.de> Content-Type: text/plain Date: Tue, 15 Sep 2009 12:42:43 -0700 Message-Id: <1253043763.11643.358.camel@desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 20 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/