mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: Clay Haapala <chaapala@cisco.com>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: CRC32c warning on sparc64
Date: Thu, 6 May 2004 20:38:52 +0300 (EEST)	[thread overview]
Message-ID: <Pine.GSO.4.44.0405061921290.21792-100000@math.ut.ee> (raw)

This is 2.6.6-rc3+BK as of today on a sparc64 (gcc 3.3.3 on Debian):

  CC [M]  crypto/crc32c.o
crypto/crc32c.c:89: warning: initialization from incompatible pointer type

This is because chksum_update uses size_t (64-bit unsigned long on
sparc64) length argument but dia_update seems to want unsigned int as
the type of length.

What is the right fix - change the length in chksum_update() and
crc32c() to unsigned int?

-- 
Meelis Roos (mroos@linux.ee)





             reply	other threads:[~2004-05-06 17:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06 17:38 Meelis Roos [this message]
2004-05-06 19:40 ` [PATCH] crypto/crc32c.c (was Re: CRC32c warning on sparc64) Clay Haapala
2004-05-07 22:01   ` David S. Miller

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=Pine.GSO.4.44.0405061921290.21792-100000@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=chaapala@cisco.com \
    --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®