From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Hunter Subject: Re: [PATCH] UBIFS: fix compilation warnings Date: Mon, 24 Nov 2008 12:03:41 +0200 Message-ID: <492A7BFD.7000206@nokia.com> References: <1227287970-14684-1-git-send-email-dedekind@infradead.org> <1227287970-14684-5-git-send-email-dedekind@infradead.org> <20081122185429.GA21433@Chamillionaire.breakpoint.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Artem Bityutskiy , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: ext Sebastian Andrzej Siewior Return-path: Received: from smtp.nokia.com ([192.100.122.230]:19838 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbYKXJzm (ORCPT ); Mon, 24 Nov 2008 04:55:42 -0500 In-Reply-To: <20081122185429.GA21433@Chamillionaire.breakpoint.cc> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Sebastian Andrzej Siewior wrote: > * Artem Bityutskiy | 2008-11-21 19:19:26 [+0200]: >=20 >> From: Artem Bityutskiy >> >> We print 'ino_t' type using '%lu' printk() placeholder, but this >> results in many warnings when compiling for Alpha platform. Fix >> this by adding (unsingned long) casts. >> >> Fixes these warnings: >> >> fs/ubifs/journal.c:693: warning: format '%lu' expects type 'long uns= igned int', but argument 4 has type 'ino_t' >=20 > Wouldn't %z help? A cast sounds wrong. Doesn't help: fs/ubifs/journal.c:699: warning: format =E2=80=98%zu=E2=80=99 expects t= ype =E2=80=98size_t=E2=80=99, but argument 4 has type =E2=80=98ino_t=E2= =80=99 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html