From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Stornelli Subject: Re: [PATCH 02/16 v2] pramfs: super block operations Date: Sat, 06 Nov 2010 15:59:34 +0100 Message-ID: <4CD56D56.20005@gmail.com> References: <4CD51847.20306@gmail.com> <20101106131257.GB13522@gandalf.local> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Linux Kernel , Linux Embedded , Linux FS Devel , Tim Bird , Andrew Morton To: James Hogan Return-path: In-Reply-To: <20101106131257.GB13522@gandalf.local> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Il 06/11/2010 14:12, James Hogan ha scritto: > Hi, >=20 > On Sat, Nov 06, 2010 at 09:56:39AM +0100, Marco Stornelli wrote: >> From: Marco Stornelli >> >> Super block operations. >> >> Signed-off-by: Marco Stornelli >> --- >> diff -Nurp linux-2.6.36-orig/fs/pramfs/super.c linux-2.6.36/fs/pramf= s/super.c >> --- linux-2.6.36-orig/fs/pramfs/super.c 1970-01-01 01:00:00.00000000= 0 +0100 >> +++ linux-2.6.36/fs/pramfs/super.c 2010-09-25 14:09:47.000000000 +02= 00 > >> + pram_dbg("max name length %d\n", PRAM_NAME_LEN); >=20 > I get a warning on this line that could be avoided: >=20 > fs/pramfs/super.c: In function =91pram_init=92: > fs/pramfs/super.c:308: warning: format =91%d=92 expects type =91int=92= , but > argument 2 has type =91long unsigned int=92 >=20 > Cheers > James >=20 Mmmm, very strange, I don't have that warning, maybe the compiler version. I'll fix it with an int cast to avoid it. Marco