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=-8.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 04680C43603 for ; Tue, 17 Dec 2019 11:57:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C809E207FF for ; Tue, 17 Dec 2019 11:57:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727384AbfLQL5E (ORCPT ); Tue, 17 Dec 2019 06:57:04 -0500 Received: from mga06.intel.com ([134.134.136.31]:39190 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbfLQL5E (ORCPT ); Tue, 17 Dec 2019 06:57:04 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2019 03:57:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,325,1571727600"; d="scan'208";a="209669421" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga008.jf.intel.com with ESMTP; 17 Dec 2019 03:57:02 -0800 Received: from andy by smile with local (Exim 4.93-RC7) (envelope-from ) id 1ihBTL-0001vv-1g; Tue, 17 Dec 2019 13:57:03 +0200 Date: Tue, 17 Dec 2019 13:57:03 +0200 From: Andy Shevchenko To: "Ben Dooks (Codethink)" Cc: Coly Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH] lib: crc64: include for 'crc64_be' Message-ID: <20191217115703.GZ32742@smile.fi.intel.com> References: <20191217112633.2108845-1-ben.dooks@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191217112633.2108845-1-ben.dooks@codethink.co.uk> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 17, 2019 at 11:26:33AM +0000, Ben Dooks (Codethink) wrote: > 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? Thanks! Reviewed-by: Andy Shevchenko > > 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 > -- With Best Regards, Andy Shevchenko