Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4387496pxj; Wed, 12 May 2021 04:41:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf/zm9BVCt6EiLn/8V0KqUV1gQ0BSDZTtQgfK0J/vh5+oFIl7zDZNzLNDxSgztmzwbeNP8 X-Received: by 2002:a17:906:f742:: with SMTP id jp2mr38047627ejb.199.1620819712908; Wed, 12 May 2021 04:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620819712; cv=none; d=google.com; s=arc-20160816; b=ckz4mo4gRmtlukHM1KMkRL/7kPOwe/PnEpzN+CLn0J/CjaqMnGpqFtiAO3SMt34CB3 gpqmdyeE+e+r2HXyf1gkHAYsKaVByDx40PiYmmqLa64/CcqIsSR6k6kLXV0r8btLQhmv mUh5V0nGc7shda/HTKNHjBe4G47tyAziUJwjgj5aRSrwXvBfKTBBjvsJf4qR2SCTA7mi st9iKBLNLMqDO4EUOZL6IhgJ/4hiysOgxXXO9rDtv/3lcKZ6xI12kxlAD2vJJ+qvg5l0 I/WP09lC2apqcBCwm0Mst3d/Db7CpCS0+NLaV/yUl7kIJfnVJIIxCjwFoL5Y9aT1zm1A TIPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5KVdPIyF8+aJEsW6KKNMoePQjVtsaF/CvO6Qobl4y+E=; b=U4J+19ipx+XKrHATsRcJRXdiggNV1lgFBfxKT2eIWyflcu2PZHBLBkiDRiQS26TXwl OmZhsHNG0S17iMT/XSruV/wCUjkYJgSnTBloFOpnU1jBRG77F9bS/ocSPN5vnKVayDiC 1jhfgSl9xpAotqEQCc1ZIod6FKb+E8J0+Cq3MBi8ZEmWgIRpFSpKLOYJ3oBeepgEbWO5 m2WKQNL4LYOE+/FqayTcCMem05UqpDyXj7gRCyQgo1qjmofIo+l+BnfZFD10eYmC8+eD AtgY6v2/9j0jBSfmykJFeuinyM5ltFXQyv2DMapFw1a7q/JvQAGRl+JHn22kUbudwK9w vlwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=A2vWHwAQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j25si21235344edr.112.2021.05.12.04.41.28; Wed, 12 May 2021 04:41:52 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=A2vWHwAQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230149AbhELLln (ORCPT + 99 others); Wed, 12 May 2021 07:41:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbhELLlm (ORCPT ); Wed, 12 May 2021 07:41:42 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92750C06174A for ; Wed, 12 May 2021 04:40:33 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id m9so30355651ybm.3 for ; Wed, 12 May 2021 04:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5KVdPIyF8+aJEsW6KKNMoePQjVtsaF/CvO6Qobl4y+E=; b=A2vWHwAQ/w0XgStFHKpHkeIh+zRFNm1JVkYV6g/EvYEZD/2flG+HA/4vcOQpU8+cOl 608GzqNvzSL6ZNv/bpc4nyQKZxWGDic3bcPMMxNE1wR4y045I8/TGeSYnLNNt37gY0Nk CtjdWcKMxk3KndLtVuYtsWp6AFI53QoWBq6nW+1oSdn1iqtae8HjYOAzMs3DTyR1v3d4 WW6Z14Zlyx0w9V9YpSu1QLQLlj/V4ytsdHhVgjreq6uXcuKJRS3TjUa566EVILhGCHKf Lqemnj4Y4mexeQD3IXulQNuFNmpaUJIMGMeWXBwz/dxndZ6jbuhhoy2kzGRFYl1/w5hL rY9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5KVdPIyF8+aJEsW6KKNMoePQjVtsaF/CvO6Qobl4y+E=; b=AurmJvdxLelT+SYTGy6k6surwu36em56Vqtw21/rvvh6O5hIWEJS5OBRHSOub+fu1I cC4V/8/KiD45ybLeBFBHjBFLuLWeah+8phNZeFDAwo09E8CTJnOFoIKsFBng2zvYZtT3 Yej8w03XrJbmc6sPzLpiTt2mM2bhNDRIqn7w+JETvuxSM8zPRZyLz3GBz3PMyMlvbOvT 27r5S+veNDDWQp+HEVrYXRdzd72Zfqy6Rzqu6lU2li6PJMKnuTQZeZshTmcCWDEZOWT/ ANi4ppONxW+0FCy88wnC19BfkP55fMpNj3tR/YWhqnBvNlLfP5HiGNsElJ+0KtamYIvH gK1A== X-Gm-Message-State: AOAM531RMPvIfny3XyPJA9XvKl9rM7G3JRZNgFQduzLXiMikrEVbfp5Q rjyeidhFjdBNRc/4FTcwfuT0dUOZ6xAkfLr3ccCPQA== X-Received: by 2002:a25:9d86:: with SMTP id v6mr45835119ybp.366.1620819632511; Wed, 12 May 2021 04:40:32 -0700 (PDT) MIME-Version: 1.0 References: <1620714150-106682-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1620714150-106682-1-git-send-email-zou_wei@huawei.com> From: Bartosz Golaszewski Date: Wed, 12 May 2021 13:40:21 +0200 Message-ID: Subject: Re: [PATCH -next] bus: da8xx-mstpri: add missing MODULE_DEVICE_TABLE To: Zou Wei Cc: Sekhar Nori , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 8:06 AM Zou Wei wrote: > > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/bus/da8xx-mstpri.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/bus/da8xx-mstpri.c b/drivers/bus/da8xx-mstpri.c > index ee4c023..ff158a1 100644 > --- a/drivers/bus/da8xx-mstpri.c > +++ b/drivers/bus/da8xx-mstpri.c > @@ -249,6 +249,7 @@ static const struct of_device_id da8xx_mstpri_of_match[] = { > { .compatible = "ti,da850-mstpri", }, > { }, > }; > +MODULE_DEVICE_TABLE(of, da8xx_mstpri_of_match); > > static struct platform_driver da8xx_mstpri_driver = { > .probe = da8xx_mstpri_probe, > -- > 2.6.2 > This module is always built-in. I don't think we require the module device table for non-dynamic modules. Bartosz