Re: [PATCH] UBIFS: fix compilation warnings

Sebastian Andrzej Siewior
2008-11-22T18:54:48Z

* Artem Bityutskiy | 2008-11-21 19:19:26 [+0200]:

>From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
>
>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 unsigned int', but argument 4 has type 'ino_t'

Wouldn't %z help? A cast sounds wrong.

Sebastian