From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034538AbdAEXVR (ORCPT ); Thu, 5 Jan 2017 18:21:17 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:34619 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030936AbdAEXVJ (ORCPT ); Thu, 5 Jan 2017 18:21:09 -0500 To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, "Martin K. Petersen" , Vinayak Holikatti , linux-scsi@vger.kernel.org, "James E.J. Bottomley" Subject: Re: [PATCH] scsi: ufs-qcom: Fix module autoload From: "Martin K. Petersen" Organization: Oracle Corporation References: <1483365898-30166-1-git-send-email-javier@osg.samsung.com> Date: Thu, 05 Jan 2017 18:21:01 -0500 In-Reply-To: <1483365898-30166-1-git-send-email-javier@osg.samsung.com> (Javier Martinez Canillas's message of "Mon, 2 Jan 2017 11:04:58 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Javier" == Javier Martinez Canillas writes: Javier> If the driver is built as a module, autoload won't work because Javier> the module alias information is not filled. So user-space can't Javier> match the registered device with the corresponding module. Javier> Export the module alias information using the Javier> MODULE_DEVICE_TABLE() macro. Applied to 4.11/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering