From mboxrd@z Thu Jan 1 00:00:00 1970 From: colyli@suse.de Subject: [PATCH 10/17] lib: crc64: include for 'crc64_be' Date: Fri, 24 Jan 2020 01:01:35 +0800 Message-ID: <20200123170142.98974-11-colyli@suse.de> References: <20200123170142.98974-1-colyli@suse.de> Return-path: Received: from mx2.suse.de ([195.135.220.15]:51762 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729396AbgAWRCy (ORCPT ); Thu, 23 Jan 2020 12:02:54 -0500 In-Reply-To: <20200123170142.98974-1-colyli@suse.de> Sender: linux-bcache-owner@vger.kernel.org List-Id: linux-bcache@vger.kernel.org To: axboe@kernel.dk Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, "Ben Dooks (Codethink)" , Coly Li From: "Ben Dooks (Codethink)" The crc64_be() is declared in so include this where the symbol is defined to avoid the following warning: lib/crc64.c:43:12: warning: symbol 'crc64_be' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) Reviewed-by: Andy Shevchenko Signed-off-by: Coly Li --- lib/crc64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crc64.c b/lib/crc64.c index 0ef8ae6ac047..f8928ce28280 100644 --- a/lib/crc64.c +++ b/lib/crc64.c @@ -28,6 +28,7 @@ #include #include +#include #include "crc64table.h" MODULE_DESCRIPTION("CRC64 calculations"); -- 2.16.4