mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CRC32c warning on sparc64
@ 2004-05-06 17:38 Meelis Roos
  2004-05-06 19:40 ` [PATCH] crypto/crc32c.c (was Re: CRC32c warning on sparc64) Clay Haapala
  0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2004-05-06 17:38 UTC (permalink / raw)
  To: Clay Haapala, Linux Kernel list

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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-07 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 17:38 CRC32c warning on sparc64 Meelis Roos
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

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®