From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EE77C43603 for ; Tue, 17 Dec 2019 11:26:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E853207FF for ; Tue, 17 Dec 2019 11:26:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbfLQL0h (ORCPT ); Tue, 17 Dec 2019 06:26:37 -0500 Received: from imap2.colo.codethink.co.uk ([78.40.148.184]:34748 "EHLO imap2.colo.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726487AbfLQL0h (ORCPT ); Tue, 17 Dec 2019 06:26:37 -0500 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap2.colo.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1ihAzq-0004hI-9x; Tue, 17 Dec 2019 11:26:34 +0000 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.3) (envelope-from ) id 1ihAzp-008qcP-R2; Tue, 17 Dec 2019 11:26:33 +0000 From: "Ben Dooks (Codethink)" To: ben.dooks@codethink.co.uk Cc: Coly Li , Andy Shevchenko , linux-kernel@vger.kernel.org Subject: [PATCH] lib: crc64: include for 'crc64_be' Date: Tue, 17 Dec 2019 11:26:33 +0000 Message-Id: <20191217112633.2108845-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) --- Cc: Coly Li Cc: Andy Shevchenko Cc: linux-kernel@vger.kernel.org --- 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.24.0