Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756716AbbBDACF (ORCPT ); Tue, 3 Feb 2015 19:02:05 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:41786 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756508AbbBDACA (ORCPT ); Tue, 3 Feb 2015 19:02:00 -0500 Message-ID: <54D16144.1010607@oracle.com> Date: Tue, 03 Feb 2015 19:01:08 -0500 From: Sasha Levin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Andrew Morton , Andrey Ryabinin CC: linux-kernel@vger.kernel.org, Dmitry Vyukov , Konstantin Serebryany , Dmitry Chernenkov , Andrey Konovalov , Yuri Gribov , Konstantin Khlebnikov , Christoph Lameter , Joonsoo Kim , Dave Hansen , Andi Kleen , x86@kernel.org, linux-mm@kvack.org, Rusty Russell , James Bottomley Subject: Re: [PATCH v11 18/19] module: fix types of device tables aliases References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1422985392-28652-1-git-send-email-a.ryabinin@samsung.com> <1422985392-28652-19-git-send-email-a.ryabinin@samsung.com> <20150203155145.632f352695fc558083d8c054@linux-foundation.org> In-Reply-To: <20150203155145.632f352695fc558083d8c054@linux-foundation.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1596 Lines: 44 On 02/03/2015 06:51 PM, Andrew Morton wrote: > From: Andrew Morton > Subject: MODULE_DEVICE_TABLE: fix some callsites > > The patch "module: fix types of device tables aliases" newly requires that > invokations of invocations > > MODULE_DEVICE_TABLE(type, name); > > come *after* the definition of `name'. That is reasonable, but some > drivers weren't doing this. Fix them. > > Cc: James Bottomley > Cc: Andrey Ryabinin > Signed-off-by: Andrew Morton > --- > > drivers/scsi/be2iscsi/be_main.c | 1 - > 1 file changed, 1 deletion(-) > > diff -puN drivers/scsi/be2iscsi/be_main.c~module_device_table-fix-some-callsites drivers/scsi/be2iscsi/be_main.c > --- a/drivers/scsi/be2iscsi/be_main.c~module_device_table-fix-some-callsites > +++ a/drivers/scsi/be2iscsi/be_main.c > @@ -48,7 +48,6 @@ static unsigned int be_iopoll_budget = 1 > static unsigned int be_max_phys_size = 64; > static unsigned int enable_msix = 1; > > -MODULE_DEVICE_TABLE(pci, beiscsi_pci_id_table); > MODULE_DESCRIPTION(DRV_DESC " " BUILD_STR); > MODULE_VERSION(BUILD_STR); > MODULE_AUTHOR("Emulex Corporation"); This just removes MODULE_DEVICE_TABLE() rather than moving it to after the definition of beiscsi_pci_id_table. Thanks, Sasha -- 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/