From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261680AbUEFRjx (ORCPT ); Thu, 6 May 2004 13:39:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261654AbUEFRjx (ORCPT ); Thu, 6 May 2004 13:39:53 -0400 Received: from math.ut.ee ([193.40.5.125]:14062 "EHLO math.ut.ee") by vger.kernel.org with ESMTP id S261597AbUEFRjv (ORCPT ); Thu, 6 May 2004 13:39:51 -0400 Date: Thu, 6 May 2004 20:38:52 +0300 (EEST) From: Meelis Roos To: Clay Haapala , Linux Kernel list Subject: CRC32c warning on sparc64 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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)