From: Coly Li <colyli@suse.de>
To: "Ben Dooks (Codethink)" <ben.dooks@codethink.co.uk>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib: crc64: include <linux/crc64.h> for 'crc64_be'
Date: Tue, 17 Dec 2019 19:49:40 +0800 [thread overview]
Message-ID: <2a06908d-8dc4-5c7f-a40c-e9fb9ec96e70@suse.de> (raw)
In-Reply-To: <20191217112633.2108845-1-ben.dooks@codethink.co.uk>
On 2019/12/17 7:26 下午, Ben Dooks (Codethink) wrote:
> The crc64_be() is declared in <linux/crc64.h> 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) <ben.dooks@codethink.co.uk>
It is good to me. Added to my for-test patches. Thanks.
Coly Li
> ---
> Cc: Coly Li <colyli@suse.de>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 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 <linux/module.h>
> #include <linux/types.h>
> +#include <linux/crc64.h>
> #include "crc64table.h"
>
> MODULE_DESCRIPTION("CRC64 calculations");
>
next prev parent reply other threads:[~2019-12-17 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 11:26 Ben Dooks (Codethink)
2019-12-17 11:49 ` Coly Li [this message]
2019-12-17 11:57 ` Andy Shevchenko
2019-12-17 11:58 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a06908d-8dc4-5c7f-a40c-e9fb9ec96e70@suse.de \
--to=colyli@suse.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=ben.dooks@codethink.co.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®