netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: krzk@kernel.org
Cc: fugang.duan@nxp.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, ebiggers3@gmail.com
Subject: Re: [PATCH v2] net: ethernet: freescale: Use generic CRC32 implementation
Date: Sun, 22 Jul 2018 14:39:56 -0700 (PDT)	[thread overview]
Message-ID: <20180722.143956.903331235259719609.davem@davemloft.net> (raw)
In-Reply-To: <20180722142636.31525-1-krzk@kernel.org>

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: Sun, 22 Jul 2018 16:26:36 +0200

> +		crc = crc32_le(~0, ha->addr, ndev->addr_len);

This is "ether_crc_le(ha->addr, ndev->addr_len)" :-)

Please use it, thanks!

  reply	other threads:[~2018-07-22 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-22 14:26 [PATCH v2] net: ethernet: freescale: Use generic CRC32 implementation Krzysztof Kozlowski
2018-07-22 21:39 ` David Miller [this message]
2018-07-23  6:22   ` Krzysztof Kozlowski

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=20180722.143956.903331235259719609.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ebiggers3@gmail.com \
    --cc=fugang.duan@nxp.com \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).