Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp746672pxk; Thu, 17 Sep 2020 15:21:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgkXzjTcZfnEZYcJ3JNIgE7Cq4mI+bfJ9iqZHMzdolMoAQLhUIW9gACjkaAAVdQ3S4ugMa X-Received: by 2002:aa7:c1c3:: with SMTP id d3mr35711934edp.228.1600381314777; Thu, 17 Sep 2020 15:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600381314; cv=none; d=google.com; s=arc-20160816; b=LmbQsKLRzXHoLpJotNaHDPwzyIlxKw0k5GAOd4lfcv346OtNo9l5iKinyHVpMo2OSK dRITdzFumNxnaahmikqwccq36div5rPRrKkx/7Nt20yxE7eHRc269ztcHp2owB4Cy4GL 8OBfIO1NSdKDrtM0X2X3ajpy7gSjI59ap/pe9YPlM4E0ZU8m+bzsgofNBHi6uhwrFJUf DEAZ955JOHI61OImNE0TrGJd/9FXqmeE80egpVaS98W/wG21W58T0S5lPMiyD1IeOLO0 ARMAEoY4ThjvLNDWr1cke0sfC0y+/3yn0kx4TvD/4ZVKBWDvFCFKfO0RfGFi2D2hsCRf j96Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:dkim-signature; bh=9U+sIM4HgoQ4mM7GVYUjmyjeo7KyvIH/zEueXXDHD/8=; b=kT9ESKiYqtIUuqT67IqV4r0wJcCN7XJ2H0PpZhXK2WMLEM7YNJQr3cK9I4s7NnaqqO TfTUGuXdFktj6mMTDHgbZjtFKWwpdH5MejCcHdhmuv2E0uExWGoH0Is+Oja7Q6/rn3hL vSzAtOXKN2to/LlxwWLo9XQKQBNITKjktZ+IbfsNI3DcC8XwekYk9BT3L50Fm8SZIe2r tM4tHONVvGWw56rmYmdQrxy9V0qRRiN8hR2rcbc5qEZy+eVZpEBcX9boYIc+2yQ8TvVc IOKQcq7rS27sDuB8jhPZDGExxmCyU7ynLPz7QqxLzf6bIlagkveQSoOugBE9L3QoJOFf sU6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sMGSBHFb; 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 e18si698495edy.386.2020.09.17.15.21.32; Thu, 17 Sep 2020 15:21:54 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sMGSBHFb; 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 S1726269AbgIQWTv (ORCPT + 99 others); Thu, 17 Sep 2020 18:19:51 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:64362 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbgIQWTv (ORCPT ); Thu, 17 Sep 2020 18:19:51 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600381190; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=9U+sIM4HgoQ4mM7GVYUjmyjeo7KyvIH/zEueXXDHD/8=; b=sMGSBHFb2OvEDggyRYBw960nbhgunH8OuJPajFmqwVuNNy0eFIqMnO0K9Sv7q3a0hDzZQpsJ ProUQ8UtX7wh2EHktmZyFr6bUvFjivQOsQcroxB2UOBwLAUlbBj0zAynkUm6T3LtN2fFyM4t 1GupxQWhDgyyotRIOtTZKZRIF4Y= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5f63e106aac0601354e93cf5 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 17 Sep 2020 22:19:49 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D88C7C433CA; Thu, 17 Sep 2020 22:19:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from malabar-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 233FCC433CB; Thu, 17 Sep 2020 22:19:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 233FCC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=bbhatt@codeaurora.org From: Bhaumik Bhatt To: manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Bhaumik Bhatt Subject: [PATCH v1 1/3] bus: mhi: core: Remove warnings for missing MODULE_LICENSE() Date: Thu, 17 Sep 2020 15:19:34 -0700 Message-Id: <1600381176-37604-2-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600381176-37604-1-git-send-email-bbhatt@codeaurora.org> References: <1600381176-37604-1-git-send-email-bbhatt@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When building MHI as a module, missing MODULE_LICENSE() warnings are seen. Avoid them by adding the license and description information for the files where the warnings are seen. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/boot.c | 3 +++ drivers/bus/mhi/core/main.c | 3 +++ drivers/bus/mhi/core/pm.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/drivers/bus/mhi/core/boot.c b/drivers/bus/mhi/core/boot.c index 24422f5..78140cc 100644 --- a/drivers/bus/mhi/core/boot.c +++ b/drivers/bus/mhi/core/boot.c @@ -523,3 +523,6 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) error_alloc_fw_table: release_firmware(firmware); } + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("MHI Host Interface"); diff --git a/drivers/bus/mhi/core/main.c b/drivers/bus/mhi/core/main.c index 2cff5dd..172026f 100644 --- a/drivers/bus/mhi/core/main.c +++ b/drivers/bus/mhi/core/main.c @@ -1533,3 +1533,6 @@ int mhi_poll(struct mhi_device *mhi_dev, u32 budget) return ret; } EXPORT_SYMBOL_GPL(mhi_poll); + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("MHI Host Interface"); diff --git a/drivers/bus/mhi/core/pm.c b/drivers/bus/mhi/core/pm.c index ce4d969..72c3dbc 100644 --- a/drivers/bus/mhi/core/pm.c +++ b/drivers/bus/mhi/core/pm.c @@ -1150,3 +1150,6 @@ void mhi_device_put(struct mhi_device *mhi_dev) read_unlock_bh(&mhi_cntrl->pm_lock); } EXPORT_SYMBOL_GPL(mhi_device_put); + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("MHI Host Interface"); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project