Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp663338img; Thu, 21 Mar 2019 06:29:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyENSfamp86Lkbkoawsjw+r0Crbc0JWo8KRdhHh9zoxxrUbxVvdsbiG7CZ9stpzrCFKxSM X-Received: by 2002:a63:cf0f:: with SMTP id j15mr3338831pgg.329.1553174990667; Thu, 21 Mar 2019 06:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553174990; cv=none; d=google.com; s=arc-20160816; b=kbe/W7JWkHWyzFOP0VkriH9DeC43BElBNN7iMG7AaHEBZ7FgYmUKukUxuhfrjqQBua UrsaWIJVNG1RHS4pGTaQiXgrx+h1jwWpEXo6+08a8YZBPCt7HDCb+4vqFqROeEMDFmNc aAWSXQwMrBYPLkYBoDfpNrmdb69vnRgFOO0eIgaM1apTrfPmxG9O0yM3nJLom3X1/NdJ LUYedldq3mjIWbDX/GeZT//npO5cH7OSMmNs/Mrp0quJbU7666SkiBjQzSObpBnPbSbJ xFaR2JufzI+SNJ9ITBoDWh3ioBBD8OY/6oSw73smIXI4GloULldbRlZaPY5siYlEoqMo yIsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=9X/aBUwUwvE6MLi/Slu8iaBaOkb04who/VQJH/NW+90=; b=wcFPETwTLPMymR5UyOW4gFPVXfO2tPjOHBXpNc8ff2gAkb/geqICpXrurgoYRntKyK D5cBiVEAd3NdmbPqzr9nYVAHaf9Q5jDsPD21YFSFYXgVaNPfXai4DJygi98P0N5GHyHL TgvI5QQuRBG5SvNhR9IipAiLh9SmBxRhymUMI6fED98gTv+HtwY4qrnLlYEpz3z8GofO +c1LPnQ0F7UavnSIZBk0cx/ANRaxVD5tNu4VG9tB0aubjVrbHK8Hf8n0JCtv1vx8tZbs AgTHHKHi4y9B1UtS6NUSuCn6i2RKAlHOcph1z24ErFOfEDwFuZ6qKMHU44MSNmQC8KKf SFbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h35si4723410plb.180.2019.03.21.06.29.32; Thu, 21 Mar 2019 06:29:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728296AbfCUN2n (ORCPT + 99 others); Thu, 21 Mar 2019 09:28:43 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:15991 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728238AbfCUN2n (ORCPT ); Thu, 21 Mar 2019 09:28:43 -0400 X-UUID: 466d77577cc1487caf84a0eb7e89a477-20190321 X-UUID: 466d77577cc1487caf84a0eb7e89a477-20190321 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 838600290; Thu, 21 Mar 2019 21:28:40 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Mar 2019 21:28:39 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 21 Mar 2019 21:28:39 +0800 Message-ID: <1553174919.30977.86.camel@mtkswgap22> Subject: Re: [PATCH v2] drivers: ufs: Add missing MODULE_* information From: Stanley Chu To: Anders Roxell CC: , , , , , , Date: Thu, 21 Mar 2019 21:28:39 +0800 In-Reply-To: <20190321132444.28659-1-anders.roxell@linaro.org> References: <20190321132444.28659-1-anders.roxell@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anders, On Thu, 2019-03-21 at 14:24 +0100, Anders Roxell wrote: > When building the ufs-mediatek module the following warning shows up: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/scsi/ufs/ufs-mediatek.o > > Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION. > > Fixes: ddd90623ce26 ("scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips") > Signed-off-by: Anders Roxell > --- > drivers/scsi/ufs/ufs-mediatek.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c > index c3b78fc83d3f..5e3bda42ac3b 100644 > --- a/drivers/scsi/ufs/ufs-mediatek.c > +++ b/drivers/scsi/ufs/ufs-mediatek.c > @@ -364,4 +364,9 @@ static struct platform_driver ufs_mtk_pltform = { > }, > }; > > +MODULE_AUTHOR("Stanley Chu "); > +MODULE_AUTHOR("Peter Wang "); > +MODULE_DESCRIPTION("MediaTek UFS Host Driver"); > +MODULE_LICENSE("GPL v2"); > + > module_platform_driver(ufs_mtk_pltform); Reviewed-by: Stanley Chu Thanks, Stanley