From patchwork Tue May 22 08:54:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coly Li X-Patchwork-Id: 10417641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5A38600CC for ; Tue, 22 May 2018 08:54:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C662128B72 for ; Tue, 22 May 2018 08:54:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9F5A28B79; Tue, 22 May 2018 08:54:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C9C328B72 for ; Tue, 22 May 2018 08:54:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751360AbeEVIyI (ORCPT ); Tue, 22 May 2018 04:54:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:40335 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbeEVIyH (ORCPT ); Tue, 22 May 2018 04:54:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BC664ADAA; Tue, 22 May 2018 08:54:05 +0000 (UTC) From: Coly Li To: linux-bcache@vger.kernel.org Cc: linux-block@vger.kernel.org, Coly Li Subject: [PATCH v2] lib/crc64.c: add license information Date: Tue, 22 May 2018 16:54:00 +0800 Message-Id: <20180522085400.66980-1-colyli@suse.de> X-Mailer: git-send-email 2.16.3 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds MODULE_LICENSE("GPL") to remove a kernel build warning information. Also as Andy Shevchenko suggested, adds a SPDX header into lib/crc64.c file. Signed-off-by: Coly Li Andy Shevchenko --- lib/crc64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/crc64.c b/lib/crc64.c index ed0ffac7b26a..30d1bb58dd5c 100644 --- a/lib/crc64.c +++ b/lib/crc64.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group (Any * use permitted, subject to terms of PostgreSQL license; see.) @@ -135,3 +136,4 @@ uint64_t crc64(const void *data, size_t len) EXPORT_SYMBOL_GPL(crc64); MODULE_DESCRIPTION("CRC64 calculations"); +MODULE_LICENSE("GPL");