Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7201488pxb; Thu, 18 Feb 2021 04:22:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpNw/AAcm+yx9LwCIpTcPsyp/gIga4BQodTzN2UbMXVgDwifNNW3ZGWsnCZ9udGGoKz8jc X-Received: by 2002:aa7:c5d4:: with SMTP id h20mr3813406eds.161.1613650939888; Thu, 18 Feb 2021 04:22:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613650939; cv=none; d=google.com; s=arc-20160816; b=WUjvtStgV09eOmjqpHVeMlkEtQtxZtmBfnNItBXmCMgeT0VrBEJTpETYPbX7OgL2nZ QxXp5fgyx8Cv11nk57HHF2c1pyG13/2P7NBOAm3AUNU9KzWJ+ZWORwc/Njd424/sMMaM RzEbrs30KIC2J1lILemQ0oBmKzrO7T25IrGB75OpZisHlnhG2LxDB8vx3w/Wt/kKsokd rUiNcL/4a2eFrZ0v24jhTZvoNSFyICu3Lcaky4REMvmXV1RueFuMLWoaVa/cq4oUioUh tUrVCyINRxYEzDJ0fcJskV9IsYEpU8BFxS3oIBS456rxp6qG8wRnwatGmCcED9KY12RF J6IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=pVCpeOEUSAbeG10aJ8Zmpm6bHQczPc+nmhf8q7+wlgw=; b=W5yOtIfo/UM451v9C2YmccCEEN4Vx/i4vwnodK5QQYMOn5MW1wT1e+PUyFVUDh6ql6 HltTz+pC5a3/p19F7Mx2G6dnDZJFkwHEAXrC+mFYK+tVBF735C4nxdW6zc20qvKh2OuS EkcR4XozEezOoxhKLtvZkdIzekfSfcy9DF40dNVhkOv+WIeLNrqz5udIE03PEb2cCq4D l0eUtd7U6xl9Iuedd4t2huOXWqPm+2/Ks+/SMdpkGl7pAO2H1VjX72CZqUuHgPpKCrZ7 msekk8bJ1mALfckvj1fhzWur+09ukwG9MNFAOy7WiVKbX8Sgcc+xS2MMYQ/leqKAVOPp 8FXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si763144ejv.592.2021.02.18.04.21.55; Thu, 18 Feb 2021 04:22:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232644AbhBRMSt (ORCPT + 99 others); Thu, 18 Feb 2021 07:18:49 -0500 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:51251 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbhBRKwr (ORCPT ); Thu, 18 Feb 2021 05:52:47 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=shile.zhang@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0UOtYqqH_1613645468; Received: from B-J2UMLVDL-1650.local(mailfrom:shile.zhang@linux.alibaba.com fp:SMTPD_---0UOtYqqH_1613645468) by smtp.aliyun-inc.com(127.0.0.1); Thu, 18 Feb 2021 18:51:09 +0800 Subject: Re: [PATCH] misc/pvpanic: Export module FDT device table To: Greg Kroah-Hartman Cc: Arnd Bergmann , linux-kernel@vger.kernel.org References: <20210218094024.69354-1-shile.zhang@linux.alibaba.com> From: Shile Zhang Message-ID: <9dc35ee1-cf67-e434-c641-d2822ad0f6a7@linux.alibaba.com> Date: Thu, 18 Feb 2021 18:51:08 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/18 18:00, Greg Kroah-Hartman wrote: > On Thu, Feb 18, 2021 at 05:40:24PM +0800, Shile Zhang wrote: >> Export the module FDT device table to ensure the FDT compatible strings >> are listed in the module alias. This help the pvpanic driver can be >> loaded on boot automatically not only the ACPI device, but also the FDT >> device. >> >> Signed-off-by: Shile Zhang >> --- >> drivers/misc/pvpanic.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c >> index 41cab297d66e..2356d621967e 100644 >> --- a/drivers/misc/pvpanic.c >> +++ b/drivers/misc/pvpanic.c >> @@ -92,6 +92,7 @@ static const struct of_device_id pvpanic_mmio_match[] = { >> { .compatible = "qemu,pvpanic-mmio", }, >> {} >> }; >> +MODULE_DEVICE_TABLE(of, pvpanic_mmio_match); > > What caused this to not work properly? I.e. should there be a "Fixes:" > tag in the commit changelog as well? Sorry, I think it should be: Fixes: 46f934c9a12fc ("misc/pvpanic: add support to get pvpanic device info FDT") Shall I sent v2 with this update? Thanks! > > thanks, > > greg k-h >